Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 112.5 kB / 21.22 MB, free: 0.7305 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001486/0.001486, allocations: 212.2 kB / 24.53 MB, free: 4.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.505/1.505, allocations: 230.6 MB / 258.3 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1889/0.1889, allocations: 38.53 MB / 353.2 MB, free: 12.53 MB / 286.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Drives_DCcharSpeed",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Drives_DCcharSpeed",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002241/0.002241, allocations: 67.88 kB / 493.3 MB, free: 4.883 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.348/0.3502, allocations: 62.47 MB / 0.5428 GB, free: 456 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed): time 0.006934/0.3571, allocations: 4.978 MB / 0.5476 GB, free: 12.57 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002845/0.36, allocations: 1.523 MB / 0.5491 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00031/0.3603, allocations: 25.91 kB / 0.5491 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003943/0.3607, allocations: 111.2 kB / 0.5492 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000654/0.3613, allocations: 271.5 kB / 0.5495 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003603/0.3617, allocations: 140 kB / 0.5496 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008177/0.3625, allocations: 0.5878 MB / 0.5502 GB, free: 10.56 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005/0.363, allocations: 298.8 kB / 0.5505 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000439/0.3635, allocations: 243.8 kB / 0.5507 GB, free: 10.22 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004277/0.3639, allocations: 246.3 kB / 0.551 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.051e-05/0.3639, allocations: 39.31 kB / 0.551 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000102/0.364, allocations: 43.69 kB / 0.551 GB, free: 10.06 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000164/0.3642, allocations: 122.6 kB / 0.5512 GB, free: 9.973 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002687/0.3645, allocations: 228.7 kB / 0.5514 GB, free: 9.82 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007243/0.3652, allocations: 0.5001 MB / 0.5519 GB, free: 9.461 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.3652, allocations: 0 / 0.5519 GB, free: 9.461 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3652, allocations: 3.938 kB / 0.5519 GB, free: 9.457 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.135e-06/0.3652, allocations: 0 / 0.5519 GB, free: 9.457 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001394/0.3666, allocations: 0.6533 MB / 0.5525 GB, free: 8.926 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.3667, allocations: 13.3 kB / 0.5525 GB, free: 8.922 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.33e-05/0.3667, allocations: 8.812 kB / 0.5525 GB, free: 8.922 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.085e-05/0.3668, allocations: 71.53 kB / 0.5526 GB, free: 8.855 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.106e-05/0.3669, allocations: 50.17 kB / 0.5526 GB, free: 8.828 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006375/0.3675, allocations: 355.2 kB / 0.553 GB, free: 8.535 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001138/0.3676, allocations: 88.17 kB / 0.5531 GB, free: 8.453 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.24e-05/0.3677, allocations: 39.5 kB / 0.5531 GB, free: 8.438 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007208/0.3684, allocations: 424.8 kB / 0.5535 GB, free: 8.133 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.602e-05/0.3684, allocations: 14 kB / 0.5535 GB, free: 8.121 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.542e-05/0.3684, allocations: 11.25 kB / 0.5535 GB, free: 8.113 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/0.3685, allocations: 8.844 kB / 0.5535 GB, free: 8.113 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005379/0.369, allocations: 271.5 kB / 0.5538 GB, free: 7.98 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002285/0.3713, allocations: 1.777 MB / 0.5555 GB, free: 6.375 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003478/0.3716, allocations: 163.8 kB / 0.5557 GB, free: 6.25 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001524/0.3718, allocations: 78.14 kB / 0.5558 GB, free: 6.191 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.726e-05/0.3718, allocations: 2.562 kB / 0.5558 GB, free: 6.191 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.77e-05/0.3718, allocations: 41.39 kB / 0.5558 GB, free: 6.145 MB / 398.1 MB Notification: Performance of pre-optimization done (n=18): time 1.573e-06/0.3718, allocations: 0 / 0.5558 GB, free: 6.145 MB / 398.1 MB Notification: Performance of matching and sorting (n=19): time 0.001342/0.3732, allocations: 0.6481 MB / 0.5564 GB, free: 5.68 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.452e-05/0.3733, allocations: 105.3 kB / 0.5565 GB, free: 5.555 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003451/0.3736, allocations: 314.1 kB / 0.5568 GB, free: 5.352 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.92e-05/0.3736, allocations: 30.89 kB / 0.5569 GB, free: 5.316 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001917/0.3738, allocations: 243.4 kB / 0.5571 GB, free: 5.098 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.629e-05/0.3739, allocations: 84.33 kB / 0.5572 GB, free: 5.023 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.374, allocations: 57.47 kB / 0.5572 GB, free: 4.984 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.3742, allocations: 350 kB / 0.5576 GB, free: 4.641 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001787/0.3744, allocations: 70.91 kB / 0.5576 GB, free: 4.609 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002785/0.3746, allocations: 200.5 kB / 0.5578 GB, free: 4.406 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004922/0.3751, allocations: 293.8 kB / 0.5581 GB, free: 4.152 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/0.3751, allocations: 5.031 kB / 0.5581 GB, free: 4.148 MB / 398.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006806/0.3758, allocations: 328.9 kB / 0.5584 GB, free: 3.973 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/0.3758, allocations: 10.53 kB / 0.5584 GB, free: 3.969 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/0.3758, allocations: 4.562 kB / 0.5584 GB, free: 3.969 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.34e-05/0.3759, allocations: 6.281 kB / 0.5585 GB, free: 3.969 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000318/0.3762, allocations: 81 kB / 0.5585 GB, free: 3.895 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.451e-05/0.3762, allocations: 15.92 kB / 0.5585 GB, free: 3.879 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002203/0.3764, allocations: 8 kB / 0.5586 GB, free: 3.871 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.679e-05/0.3764, allocations: 19.94 kB / 0.5586 GB, free: 3.852 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): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002399/0.3767, allocations: 181.7 kB / 0.5587 GB, free: 3.664 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.839e-05/0.3768, allocations: 35.75 kB / 0.5588 GB, free: 3.629 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000429/0.3772, allocations: 196.6 kB / 0.559 GB, free: 3.426 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.3772, allocations: 3.938 kB / 0.559 GB, free: 3.422 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.3772, allocations: 7.938 kB / 0.559 GB, free: 3.414 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.3772, allocations: 0 / 0.559 GB, free: 3.414 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001033/0.3782, allocations: 0.5907 MB / 0.5596 GB, free: 2.773 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.3782, allocations: 0 / 0.5596 GB, free: 2.773 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002379/0.3785, allocations: 39.97 kB / 0.5596 GB, free: 2.734 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.3785, allocations: 8.031 kB / 0.5596 GB, free: 2.727 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.819e-05/0.3785, allocations: 4 kB / 0.5596 GB, free: 2.723 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.655e-06/0.3785, allocations: 4 kB / 0.5596 GB, free: 2.719 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.3785, allocations: 0 / 0.5596 GB, free: 2.719 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006328/0.3792, allocations: 460 kB / 0.56 GB, free: 2.246 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.998e-05/0.3792, allocations: 27.81 kB / 0.5601 GB, free: 2.219 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.491e-05/0.3793, allocations: 8 kB / 0.5601 GB, free: 2.211 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001837/0.3794, allocations: 8.031 kB / 0.5601 GB, free: 2.203 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.04e-05/0.3795, allocations: 11.98 kB / 0.5601 GB, free: 2.191 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.819e-05/0.3795, allocations: 11.92 kB / 0.5601 GB, free: 2.18 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000245/0.3798, allocations: 219.1 kB / 0.5603 GB, free: 1.965 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3798, allocations: 0 / 0.5603 GB, free: 1.965 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004513/0.3802, allocations: 71.94 kB / 0.5604 GB, free: 1.895 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (efficiency.pav,efficiency.qav,machine.rotor.phi,machine.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 (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009382/0.3811, allocations: 0.9777 MB / 0.5613 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004462/0.3816, allocations: 183.8 kB / 0.5615 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.3816, allocations: 0 / 0.5615 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001773/0.3818, allocations: 81.03 kB / 0.5616 GB, free: 0.625 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007058/0.3825, allocations: 101.3 kB / 0.5617 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004857/0.3873, allocations: 3.43 MB / 0.565 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006554/0.388, allocations: 0.8185 MB / 0.5658 GB, free: 12.05 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002841/0.3883, allocations: 55.25 kB / 0.5659 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002166/0.3885, allocations: 115.4 kB / 0.566 GB, free: 11.89 MB / 414.1 MB Notification: Performance of SimCode: time 2.244e-06/0.3885, allocations: 3.938 kB / 0.566 GB, free: 11.88 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03218/0.4207, allocations: 7.414 MB / 0.5732 GB, free: 4.641 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.8/12.22, allocations: 8.875 kB / 0.5733 GB, free: 4.637 MB / 414.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC1ph_DC_Drives_DCcharSpeed_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-05 PowerSystems_PowerSystems_Examples_AC1ph_DC_Drives_DCcharSpeed.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.143033194995951] Failed to read output from testmodel.py, exit status != 0: 12.388064723054413 12.404249179 12.03572392 Calling exit ...