Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.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/Complex 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/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(PowerSystems.Examples.AC3ph.Elementary.Machines,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Machines",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Machines,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Machines",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.001299/0.001299, allocations: 110.2 kB / 17.06 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 197.3 kB / 18.01 MB, free: 5.051 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.399/1.399, allocations: 222.9 MB / 241.7 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1761/0.1761, allocations: 38.04 MB / 329.9 MB, free: 8.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002097/0.002097, allocations: 67.89 kB / 457.6 MB, free: 7.332 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.303/0.3052, allocations: 58.06 MB / 0.5036 GB, free: 7.484 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Machines): time 0.005922/0.3111, allocations: 5.39 MB / 0.5089 GB, free: 3.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005352/0.3165, allocations: 4.153 MB / 0.5129 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004452/0.317, allocations: 20.31 kB / 0.513 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01025/0.3273, allocations: 4.854 MB / 0.5177 GB, free: 15.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001135/0.3285, allocations: 338.6 kB / 0.518 GB, free: 15.24 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007453/0.3292, allocations: 244.9 kB / 0.5183 GB, free: 15.12 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002234/0.3315, allocations: 1.559 MB / 0.5198 GB, free: 14.59 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006631/0.3321, allocations: 394.9 kB / 0.5202 GB, free: 14.43 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005552/0.3327, allocations: 373.3 kB / 0.5205 GB, free: 14.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006412/0.3334, allocations: 445.5 kB / 0.5209 GB, free: 14.1 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.648e-05/0.3335, allocations: 45.38 kB / 0.521 GB, free: 14.1 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000299/0.3338, allocations: 120.4 kB / 0.5211 GB, free: 14.07 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003466/0.3341, allocations: 271.2 kB / 0.5213 GB, free: 13.98 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000369/0.3345, allocations: 323.7 kB / 0.5217 GB, free: 13.79 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001173/0.3357, allocations: 0.7511 MB / 0.5224 GB, free: 13.5 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.3357, allocations: 0 / 0.5224 GB, free: 13.5 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3357, allocations: 0 / 0.5224 GB, free: 13.5 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.59e-05/0.3357, allocations: 1.219 kB / 0.5224 GB, free: 13.5 MB / 398.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.00194/0.3377, allocations: 0.9249 MB / 0.5233 GB, free: 12.81 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.3377, allocations: 13.64 kB / 0.5233 GB, free: 12.8 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001153/0.3378, allocations: 92.39 kB / 0.5234 GB, free: 12.73 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004577/0.3383, allocations: 96.16 kB / 0.5235 GB, free: 12.7 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001064/0.3394, allocations: 0.5566 MB / 0.524 GB, free: 12.34 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.663e-05/0.3394, allocations: 36.09 kB / 0.5241 GB, free: 12.32 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.492e-05/0.3395, allocations: 51.72 kB / 0.5241 GB, free: 12.3 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001083/0.3406, allocations: 0.6518 MB / 0.5248 GB, free: 11.99 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.558e-05/0.3407, allocations: 1.406 kB / 0.5248 GB, free: 11.99 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.593e-05/0.3407, allocations: 21.45 kB / 0.5248 GB, free: 11.98 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001526/0.3409, allocations: 53.41 kB / 0.5248 GB, free: 11.97 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009163/0.3418, allocations: 494.1 kB / 0.5253 GB, free: 11.81 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003857/0.3457, allocations: 2.526 MB / 0.5278 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000511/0.3462, allocations: 323.5 kB / 0.5281 GB, free: 9.754 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00028/0.3465, allocations: 184.7 kB / 0.5282 GB, free: 9.648 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.724e-05/0.3465, allocations: 4.375 kB / 0.5283 GB, free: 9.648 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.557e-05/0.3466, allocations: 37.06 kB / 0.5283 GB, free: 9.605 MB / 398.1 MB Notification: Performance of pre-optimization done (n=32): time 3.827e-06/0.3466, allocations: 4 kB / 0.5283 GB, free: 9.602 MB / 398.1 MB Notification: Performance of matching and sorting (n=33): time 0.003592/0.3502, allocations: 1.647 MB / 0.5299 GB, free: 8.324 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.438e-05/0.3503, allocations: 110.7 kB / 0.53 GB, free: 8.195 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007378/0.3511, allocations: 431.5 kB / 0.5304 GB, free: 7.93 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.921e-05/0.3511, allocations: 31.02 kB / 0.5304 GB, free: 7.895 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003334/0.3515, allocations: 313.7 kB / 0.5307 GB, free: 7.617 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001577/0.3516, allocations: 123.3 kB / 0.5309 GB, free: 7.512 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002156/0.3519, allocations: 93.03 kB / 0.531 GB, free: 7.449 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002344/0.3521, allocations: 363.6 kB / 0.5313 GB, free: 7.098 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004419/0.3526, allocations: 168.7 kB / 0.5315 GB, free: 7.012 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005713/0.3531, allocations: 304.2 kB / 0.5317 GB, free: 6.758 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001064/0.3542, allocations: 488.8 kB / 0.5322 GB, free: 6.41 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.668e-06/0.3542, allocations: 1.031 kB / 0.5322 GB, free: 6.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002196/0.3564, allocations: 0.7971 MB / 0.533 GB, free: 5.918 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.622e-05/0.3565, allocations: 11.66 kB / 0.533 GB, free: 5.914 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/0.3565, allocations: 4.406 kB / 0.533 GB, free: 5.914 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001014/0.3575, allocations: 213.2 kB / 0.5332 GB, free: 5.805 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004999/0.3581, allocations: 76.03 kB / 0.5333 GB, free: 5.785 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007728/0.3658, allocations: 4.232 MB / 0.5374 GB, free: 2.102 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005937/0.3664, allocations: 20.33 kB / 0.5374 GB, free: 2.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.144e-05/0.3665, allocations: 19.69 kB / 0.5375 GB, free: 2.086 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,10)} Notification: Performance of prepare postOptimizeDAE: time 0.000521/0.367, allocations: 233.7 kB / 0.5377 GB, free: 1.895 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001658/0.3672, allocations: 46.47 kB / 0.5377 GB, free: 1.871 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001519/0.3687, allocations: 0.6359 MB / 0.5383 GB, free: 1.391 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.421e-05/0.3688, allocations: 8.844 kB / 0.5384 GB, free: 1.387 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.3688, allocations: 1.25 kB / 0.5384 GB, free: 1.387 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-06/0.3688, allocations: 5.25 kB / 0.5384 GB, free: 1.383 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002669/0.3715, allocations: 1.185 MB / 0.5395 GB, free: 468 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.3715, allocations: 5.594 kB / 0.5395 GB, free: 464 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006347/0.3721, allocations: 77.22 kB / 0.5396 GB, free: 440 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000255/0.3724, allocations: 49.81 kB / 0.5396 GB, free: 408 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.572e-05/0.3725, allocations: 12.27 kB / 0.5397 GB, free: 400 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003264/0.3758, allocations: 2.845 MB / 0.5424 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.3758, allocations: 1.219 kB / 0.5424 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001811/0.3776, allocations: 0.9525 MB / 0.5434 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003356/0.378, allocations: 153.3 kB / 0.5435 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001101/0.3781, allocations: 8.969 kB / 0.5435 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004349/0.3785, allocations: 13.48 kB / 0.5435 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.893e-05/0.3787, allocations: 32.27 kB / 0.5436 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.581e-05/0.3787, allocations: 16.25 kB / 0.5436 GB, free: 12.56 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00051/0.3792, allocations: 290.9 kB / 0.5439 GB, free: 12.39 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.825e-06/0.3793, allocations: 4 kB / 0.5439 GB, free: 12.38 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001018/0.3803, allocations: 138 kB / 0.544 GB, free: 12.36 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (asynchron.i[3],asynchron.phi_el,asynchron.psi_s[1],asynchron.psi_s[2],asynchron.psi_rd[1],asynchron.psi_rq[1],rotor.w) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002148/0.3824, allocations: 1.511 MB / 0.5455 GB, free: 11.09 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00155/0.384, allocations: 0.7366 MB / 0.5462 GB, free: 10.61 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.384, allocations: 0 / 0.5462 GB, free: 10.61 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006279/0.3847, allocations: 421.6 kB / 0.5466 GB, free: 10.3 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007727/0.3854, allocations: 116.7 kB / 0.5467 GB, free: 10.23 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007969/0.3934, allocations: 5.568 MB / 0.5521 GB, free: 5.133 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006304/0.3941, allocations: 0.9366 MB / 0.5531 GB, free: 4.172 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003478/0.3945, allocations: 104.4 kB / 0.5532 GB, free: 4.066 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002799/0.3947, allocations: 199.4 kB / 0.5533 GB, free: 3.871 MB / 414.1 MB Notification: Performance of SimCode: time 7.02e-07/0.3948, allocations: 0 / 0.5533 GB, free: 3.871 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04554/0.4403, allocations: 12.17 MB / 0.5652 GB, free: 7.859 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.45/12.89, allocations: 2.656 kB / 0.5652 GB, free: 7.859 MB / 430.1 MB (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Machines_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Machines.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe 2>&1)