Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.KundurSMIB.SMIB,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_KundurSMIB_SMIB",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.KundurSMIB.SMIB,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_KundurSMIB_SMIB",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.178/1.178, allocations: 222.9 MB / 238.8 MB, free: 4.742 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 196.4 kB / 289.1 MB, free: 2.473 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4021/0.4021, allocations: 78.52 MB / 417.8 MB, free: 3.391 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 79.88 kB / 496.9 MB, free: 6.707 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1058, allocations: 68.17 MB / 0.5518 GB, free: 2.504 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.1998/0.3056, allocations: 5.171 MB / 0.5568 GB, free: 36.88 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002721/0.3084, allocations: 1.64 MB / 0.5584 GB, free: 36.38 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002305/0.3087, allocations: 6.219 kB / 0.5584 GB, free: 36.38 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003263/0.309, allocations: 125.5 kB / 0.5586 GB, free: 36.37 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation transformer.m <> 1.0, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeBindings: time 0.001062/0.3101, allocations: 0.5838 MB / 0.5591 GB, free: 36.23 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005665/0.3107, allocations: 392.4 kB / 0.5595 GB, free: 36.18 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007203/0.3114, allocations: 1.016 MB / 0.5605 GB, free: 36.13 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002506/0.3117, allocations: 187.4 kB / 0.5607 GB, free: 36.09 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003491/0.312, allocations: 396.2 kB / 0.5611 GB, free: 36 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004373/0.3125, allocations: 0.5182 MB / 0.5616 GB, free: 35.88 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.881e-05/0.3126, allocations: 51.44 kB / 0.5616 GB, free: 35.88 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003254/0.3129, allocations: 186.3 kB / 0.5618 GB, free: 35.87 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001403/0.313, allocations: 180.3 kB / 0.562 GB, free: 35.83 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002961/0.3134, allocations: 430.3 kB / 0.5624 GB, free: 35.68 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009295/0.3143, allocations: 1.216 MB / 0.5636 GB, free: 35.44 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3143, allocations: 0.5625 kB / 0.5636 GB, free: 35.44 MB / 430.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.3143, allocations: 0 / 0.5636 GB, free: 35.44 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.307e-06/0.3143, allocations: 0.7188 kB / 0.5636 GB, free: 35.44 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.004718/0.319, allocations: 1.75 MB / 0.5653 GB, free: 34.73 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.3191, allocations: 7.719 kB / 0.5653 GB, free: 34.73 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001059/0.3192, allocations: 93.48 kB / 0.5654 GB, free: 34.69 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003055/0.3223, allocations: 0.5262 MB / 0.5659 GB, free: 34.62 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007753/0.3231, allocations: 0.644 MB / 0.5665 GB, free: 34.3 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001627/0.3232, allocations: 145.7 kB / 0.5666 GB, free: 34.21 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.884e-05/0.3233, allocations: 50.28 kB / 0.5667 GB, free: 34.21 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001185/0.3245, allocations: 0.6534 MB / 0.5673 GB, free: 34.16 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.3246, allocations: 1.5 kB / 0.5673 GB, free: 34.16 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.437e-05/0.3246, allocations: 18.62 kB / 0.5673 GB, free: 34.16 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.252e-05/0.3246, allocations: 22.56 kB / 0.5674 GB, free: 34.16 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001054/0.3257, allocations: 0.6312 MB / 0.568 GB, free: 34.15 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00353/0.3292, allocations: 2.629 MB / 0.5706 GB, free: 33.46 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01078/0.34, allocations: 2.811 MB / 0.5733 GB, free: 33.2 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007358/0.3408, allocations: 449.9 kB / 0.5737 GB, free: 33.18 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.529e-05/0.3409, allocations: 10.08 kB / 0.5737 GB, free: 33.18 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.707e-05/0.3409, allocations: 44 kB / 0.5738 GB, free: 33.14 MB / 430.1 MB Notification: Performance of pre-optimization done (n=57): time 2.314e-06/0.3409, allocations: 0 / 0.5738 GB, free: 33.14 MB / 430.1 MB Notification: Performance of matching and sorting (n=57): time 0.01062/0.3515, allocations: 3.526 MB / 0.5772 GB, free: 32.66 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.469e-05/0.3516, allocations: 57.16 kB / 0.5773 GB, free: 32.6 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000855/0.3524, allocations: 0.7709 MB / 0.578 GB, free: 32.43 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.209e-05/0.3525, allocations: 42.95 kB / 0.5781 GB, free: 32.38 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001773/0.3527, allocations: 348.3 kB / 0.5784 GB, free: 32.1 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001515/0.3528, allocations: 216.6 kB / 0.5786 GB, free: 31.93 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003/0.3532, allocations: 165.3 kB / 0.5788 GB, free: 31.85 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.972e-05/0.3532, allocations: 395.2 kB / 0.5791 GB, free: 31.5 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008777/0.3541, allocations: 0.495 MB / 0.5796 GB, free: 31.3 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000938/0.3551, allocations: 0.5959 MB / 0.5802 GB, free: 31.02 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01362/0.3687, allocations: 3.557 MB / 0.5837 GB, free: 30.02 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.713e-06/0.3687, allocations: 5.062 kB / 0.5837 GB, free: 30.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.006462/0.3752, allocations: 2.391 MB / 0.586 GB, free: 29.29 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.3753, allocations: 5.312 kB / 0.586 GB, free: 29.29 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.3753, allocations: 2.031 kB / 0.586 GB, free: 29.29 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003743/0.379, allocations: 1.048 MB / 0.5871 GB, free: 29.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006892/0.3797, allocations: 149.3 kB / 0.5872 GB, free: 29.08 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009004/0.3887, allocations: 4.699 MB / 0.5918 GB, free: 26.47 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001056/0.3898, allocations: 111.3 kB / 0.5919 GB, free: 26.42 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.057e-05/0.3899, allocations: 37.86 kB / 0.5919 GB, free: 26.41 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: G1.machine.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real G1.machine.delta:VARIABLE(flow=false start = G1.machine.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(7,13,59.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004246/0.3903, allocations: 209.9 kB / 0.5921 GB, free: 26.24 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001478/0.3905, allocations: 78.34 kB / 0.5922 GB, free: 26.2 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005736/0.3962, allocations: 1.947 MB / 0.5941 GB, free: 25.63 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/0.3962, allocations: 7.078 kB / 0.5941 GB, free: 25.63 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.3963, allocations: 3.812 kB / 0.5941 GB, free: 25.63 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.979e-06/0.3963, allocations: 4.172 kB / 0.5941 GB, free: 25.63 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006629/0.4029, allocations: 3.041 MB / 0.5971 GB, free: 24.38 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.4029, allocations: 0.625 kB / 0.5971 GB, free: 24.38 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003974/0.4033, allocations: 60.59 kB / 0.5971 GB, free: 24.38 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002941/0.4063, allocations: 0.9353 MB / 0.5981 GB, free: 24.19 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.614e-05/0.4063, allocations: 13.25 kB / 0.5981 GB, free: 24.18 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006726/0.4131, allocations: 3.783 MB / 0.6018 GB, free: 21.97 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.4131, allocations: 0.6094 kB / 0.6018 GB, free: 21.97 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006408/0.4195, allocations: 2.511 MB / 0.6042 GB, free: 21.09 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002223/0.4197, allocations: 184.3 kB / 0.6044 GB, free: 20.93 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001143/0.4199, allocations: 12.16 kB / 0.6044 GB, free: 20.92 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006772/0.4205, allocations: 54.58 kB / 0.6045 GB, free: 20.91 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003278/0.4209, allocations: 116 kB / 0.6046 GB, free: 20.89 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.82e-05/0.4209, allocations: 17.3 kB / 0.6046 GB, free: 20.89 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006102/0.4216, allocations: 0.5161 MB / 0.6051 GB, free: 20.66 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4216, allocations: 0 / 0.6051 GB, free: 20.66 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008684/0.4224, allocations: 301 kB / 0.6054 GB, free: 20.61 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (G1.machine.delta,G1.machine.w,G1.machine.e1q,G1.machine.e1d,G1.machine.e2q,G1.machine.e2d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(9,9,48.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006533/0.429, allocations: 3.077 MB / 0.6084 GB, free: 19.2 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003711/0.4327, allocations: 1.746 MB / 0.6101 GB, free: 18.23 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.4327, allocations: 1.781 kB / 0.6101 GB, free: 18.23 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002333/0.435, allocations: 1.075 MB / 0.6111 GB, free: 17.52 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005583/0.4356, allocations: 62.03 kB / 0.6112 GB, free: 17.48 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01789/0.4535, allocations: 10.44 MB / 0.6214 GB, free: 7.395 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002676/0.4538, allocations: 0.9421 MB / 0.6223 GB, free: 6.426 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002517/0.4541, allocations: 67.16 kB / 0.6224 GB, free: 6.359 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003143/0.4544, allocations: 291.3 kB / 0.6227 GB, free: 6.074 MB / 430.1 MB Notification: Performance of SimCode: time 6.12e-07/0.4544, allocations: 4 kB / 0.6227 GB, free: 6.07 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02977/0.4842, allocations: 19.99 MB / 0.6422 GB, free: 2.414 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001928/0.4844, allocations: 191.8 kB / 0.6424 GB, free: 2.16 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.055/2.54, allocations: 0 / 0.6424 GB, free: 2.16 MB / 446.1 MB (rm -f OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_KundurSMIB_SMIB_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_KundurSMIB_SMIB.fmu > OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.pipe 2>&1)