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.000819/0.000819, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.0008666/0.0008666, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.8727/0.8727, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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.221/0.221, allocations: 29.4 MB / 290.1 MB, free: 2.465 MB / 266.7 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Drives_DCcharSpeed",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.14e-05/2.331e-05, allocations: 2.281 kB / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed): time 0.004401/0.004425, allocations: 4.677 MB / 434.9 MB, free: 8.902 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001702/0.006127, allocations: 1.409 MB / 436.3 MB, free: 7.488 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002848/0.006412, allocations: 23.81 kB / 436.3 MB, free: 7.465 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000318/0.00673, allocations: 103.1 kB / 436.4 MB, free: 7.363 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005562/0.007286, allocations: 282.1 kB / 436.7 MB, free: 7.086 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002964/0.007583, allocations: 135.7 kB / 436.8 MB, free: 6.953 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005863/0.008169, allocations: 0.6069 MB / 437.4 MB, free: 6.344 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003358/0.008505, allocations: 287.3 kB / 437.7 MB, free: 6.055 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003675/0.008872, allocations: 363 kB / 438.1 MB, free: 5.699 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002489/0.009121, allocations: 191.5 kB / 438.3 MB, free: 5.512 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.361e-05/0.009165, allocations: 40 kB / 438.3 MB, free: 5.473 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.079e-05/0.009216, allocations: 40 kB / 438.3 MB, free: 5.434 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.46e-05/0.00931, allocations: 127.6 kB / 438.5 MB, free: 5.309 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001164/0.009427, allocations: 155.7 kB / 438.6 MB, free: 5.156 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003912/0.009818, allocations: 0.4985 MB / 439.1 MB, free: 4.656 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.009821, allocations: 3.938 kB / 439.1 MB, free: 4.652 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.714e-06/0.009823, allocations: 0 / 439.1 MB, free: 4.652 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.715e-06/0.009831, allocations: 4 kB / 439.1 MB, free: 4.648 MB / 410.7 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.000859/0.01069, allocations: 0.6429 MB / 439.8 MB, free: 3.977 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.01073, allocations: 11.98 kB / 439.8 MB, free: 3.965 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.762e-05/0.01079, allocations: 74.72 kB / 439.8 MB, free: 3.883 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.146e-05/0.01085, allocations: 44.66 kB / 439.9 MB, free: 3.84 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004627/0.01131, allocations: 360 kB / 440.2 MB, free: 3.461 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.35e-05/0.01139, allocations: 80.97 kB / 440.3 MB, free: 3.371 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.002e-05/0.01144, allocations: 39.94 kB / 440.4 MB, free: 3.332 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004584/0.0119, allocations: 432.2 kB / 440.8 MB, free: 2.871 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/0.01192, allocations: 7.953 kB / 440.8 MB, free: 2.863 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.352e-05/0.01194, allocations: 12 kB / 440.8 MB, free: 2.852 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.637e-06/0.01195, allocations: 8 kB / 440.8 MB, free: 2.844 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003436/0.0123, allocations: 270.3 kB / 441.1 MB, free: 2.578 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001419/0.01371, allocations: 1.704 MB / 442.8 MB, free: 0.7695 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002354/0.01395, allocations: 179.2 kB / 443 MB, free: 0.5703 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.715e-05/0.01404, allocations: 66.62 kB / 443 MB, free: 0.4961 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.707e-05/0.01405, allocations: 0 / 443 MB, free: 0.4961 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.01408, allocations: 42.55 kB / 443.1 MB, free: 456 kB / 410.7 MB Notification: Performance of pre-optimization done (n=18): time 1.313e-06/0.01408, allocations: 0 / 443.1 MB, free: 456 kB / 410.7 MB Notification: Performance of matching and sorting (n=19): time 0.1514/0.1655, allocations: 0.6282 MB / 443.7 MB, free: 54.64 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/0.1655, allocations: 109.1 kB / 443.8 MB, free: 54.52 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002104/0.1657, allocations: 328 kB / 444.1 MB, free: 54.41 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.165e-05/0.1658, allocations: 31.92 kB / 444.1 MB, free: 54.38 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.702e-05/0.1658, allocations: 243.9 kB / 444.4 MB, free: 54.24 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.149e-05/0.1659, allocations: 78.83 kB / 444.5 MB, free: 54.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.377e-05/0.1659, allocations: 61.02 kB / 444.5 MB, free: 54.18 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.716e-05/0.166, allocations: 343.2 kB / 444.9 MB, free: 53.87 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.718e-05/0.1661, allocations: 73.47 kB / 444.9 MB, free: 53.87 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001017/0.1662, allocations: 203.2 kB / 445.1 MB, free: 53.71 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002035/0.1664, allocations: 289.8 kB / 445.4 MB, free: 53.56 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1664, allocations: 2.969 kB / 445.4 MB, free: 53.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002776/0.1666, allocations: 333.2 kB / 445.7 MB, free: 53.42 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.1666, allocations: 6.344 kB / 445.7 MB, free: 53.42 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.1667, allocations: 5.125 kB / 445.7 MB, free: 53.42 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.1667, allocations: 6.75 kB / 445.8 MB, free: 53.42 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001574/0.1668, allocations: 74.33 kB / 445.8 MB, free: 53.42 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.1668, allocations: 11.16 kB / 445.8 MB, free: 53.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.407e-05/0.1669, allocations: 24.62 kB / 445.9 MB, free: 53.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.222e-05/0.1669, allocations: 13.25 kB / 445.9 MB, free: 53.41 MB / 410.7 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.0001079/0.167, allocations: 175.9 kB / 446 MB, free: 53.26 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.422e-05/0.1671, allocations: 39.73 kB / 446.1 MB, free: 53.23 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002074/0.1673, allocations: 191.7 kB / 446.3 MB, free: 53.14 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.1673, allocations: 3.312 kB / 446.3 MB, free: 53.14 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.1673, allocations: 4.875 kB / 446.3 MB, free: 53.14 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1673, allocations: 4.172 kB / 446.3 MB, free: 53.14 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004729/0.1678, allocations: 0.5649 MB / 446.8 MB, free: 52.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.1678, allocations: 0 / 446.8 MB, free: 52.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001145/0.1679, allocations: 41.53 kB / 446.9 MB, free: 52.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1679, allocations: 0 / 446.9 MB, free: 52.75 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.1679, allocations: 7.062 kB / 446.9 MB, free: 52.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.1679, allocations: 7.203 kB / 446.9 MB, free: 52.75 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.1679, allocations: 6.875 kB / 446.9 MB, free: 52.74 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002822/0.1682, allocations: 449.1 kB / 447.3 MB, free: 52.43 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.648e-05/0.1682, allocations: 28.33 kB / 447.4 MB, free: 52.41 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.275e-05/0.1682, allocations: 4 kB / 447.4 MB, free: 52.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.073e-05/0.1683, allocations: 6.969 kB / 447.4 MB, free: 52.41 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.736e-05/0.1684, allocations: 21.05 kB / 447.4 MB, free: 52.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.637e-06/0.1684, allocations: 9.734 kB / 447.4 MB, free: 52.4 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.861e-05/0.1685, allocations: 216.6 kB / 447.6 MB, free: 52.28 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1685, allocations: 6.875 kB / 447.6 MB, free: 52.28 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002383/0.1687, allocations: 72.12 kB / 447.7 MB, free: 52.27 MB / 410.7 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.0003442/0.1691, allocations: 0.9805 MB / 448.7 MB, free: 51.43 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000205/0.1693, allocations: 188.4 kB / 448.9 MB, free: 51.37 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1693, allocations: 0 / 448.9 MB, free: 51.37 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.866e-05/0.1693, allocations: 80.05 kB / 448.9 MB, free: 51.34 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003954/0.1697, allocations: 89.28 kB / 449 MB, free: 51.32 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002091/0.1718, allocations: 3.306 MB / 452.3 MB, free: 49.03 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001117/0.1719, allocations: 216.8 kB / 452.6 MB, free: 48.93 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001071/0.172, allocations: 44.36 kB / 452.6 MB, free: 48.93 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.8e-05/0.1721, allocations: 129.6 kB / 452.7 MB, free: 48.83 MB / 410.7 MB Notification: Performance of SimCode: time 6.31e-07/0.1721, allocations: 0 / 452.7 MB, free: 48.83 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01786/0.19, allocations: 8.006 MB / 460.7 MB, free: 47.39 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.663/6.853, allocations: 15.53 kB / 460.7 MB, free: 47.38 MB / 410.7 MB " [Timeout remaining time 653] (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: 8.660352320410311] Failed to read output from testmodel.py, exit status != 0: 6.9373820424079895 6.944887573 6.933585785 Calling exit ...