Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.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.0008232/0.0008232, 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.0009482/0.0009482, allocations: 170.3 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.8917/0.8917, allocations: 177.1 MB / 204.3 MB, free: 5.754 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.2129/0.2129, allocations: 29.4 MB / 290.1 MB, free: 2.445 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.DCmotor_ser,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Drives_DCmotor_ser",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Drives_DCmotor_ser",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.861e-05/2.024e-05, allocations: 8.109 kB / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser): time 0.004525/0.004545, allocations: 5.039 MB / 435.2 MB, free: 8.535 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002065/0.00661, allocations: 1.998 MB / 437.2 MB, free: 6.531 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002285/0.006839, allocations: 27.81 kB / 437.3 MB, free: 6.504 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004204/0.007259, allocations: 142.8 kB / 437.4 MB, free: 6.363 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006513/0.00791, allocations: 409.4 kB / 437.8 MB, free: 5.961 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003415/0.008252, allocations: 221.6 kB / 438 MB, free: 5.746 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006291/0.008881, allocations: 0.7431 MB / 438.8 MB, free: 5 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003002/0.009181, allocations: 319.9 kB / 439.1 MB, free: 4.68 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003899/0.009571, allocations: 430.8 kB / 439.5 MB, free: 4.258 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002556/0.009826, allocations: 251.2 kB / 439.7 MB, free: 4.012 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.496e-05/0.009871, allocations: 48 kB / 439.8 MB, free: 3.965 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001733/0.01004, allocations: 139.8 kB / 439.9 MB, free: 3.828 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.01015, allocations: 155.5 kB / 440.1 MB, free: 3.676 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001325/0.01028, allocations: 179.5 kB / 440.3 MB, free: 3.5 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000568/0.01085, allocations: 0.7049 MB / 441 MB, free: 2.793 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.01085, allocations: 4 kB / 441 MB, free: 2.789 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.01085, allocations: 0 / 441 MB, free: 2.789 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.01086, allocations: 0 / 441 MB, free: 2.789 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001027/0.01189, allocations: 0.7979 MB / 441.8 MB, free: 1.957 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.01193, allocations: 15.98 kB / 441.8 MB, free: 1.941 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.93e-05/0.01199, allocations: 74.72 kB / 441.9 MB, free: 1.859 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.103e-05/0.01206, allocations: 60.56 kB / 441.9 MB, free: 1.801 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005194/0.01258, allocations: 427.2 kB / 442.3 MB, free: 1.355 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.44e-05/0.0126, allocations: 32.94 kB / 442.4 MB, free: 1.324 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.436e-05/0.01265, allocations: 36 kB / 442.4 MB, free: 1.289 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005401/0.01319, allocations: 486.8 kB / 442.9 MB, free: 0.7656 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/0.0132, allocations: 3.984 kB / 442.9 MB, free: 0.7617 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.891e-05/0.01323, allocations: 16 kB / 442.9 MB, free: 0.7461 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.046e-06/0.01324, allocations: 12 kB / 442.9 MB, free: 0.7344 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002965/0.01354, allocations: 274.3 kB / 443.2 MB, free: 476 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1533/0.1668, allocations: 1.696 MB / 444.9 MB, free: 53.47 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003486/0.1672, allocations: 239.1 kB / 445.1 MB, free: 53.4 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.598e-05/0.1673, allocations: 84.83 kB / 445.2 MB, free: 53.38 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.654e-05/0.1673, allocations: 3.094 kB / 445.2 MB, free: 53.38 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001712/0.1675, allocations: 175.1 kB / 445.4 MB, free: 53.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=24): time 1.423e-06/0.1675, allocations: 5.688 kB / 445.4 MB, free: 53.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=26): time 0.001041/0.1685, allocations: 0.8544 MB / 446.2 MB, free: 52.86 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.1685, allocations: 137.4 kB / 446.3 MB, free: 52.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002845/0.1688, allocations: 422 kB / 446.8 MB, free: 52.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.1688, allocations: 32.86 kB / 446.8 MB, free: 52.46 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.069e-05/0.1689, allocations: 272.8 kB / 447.1 MB, free: 52.26 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.943e-05/0.169, allocations: 98.11 kB / 447.2 MB, free: 52.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.552e-05/0.169, allocations: 65.09 kB / 447.2 MB, free: 52.16 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.997e-05/0.1691, allocations: 357.4 kB / 447.6 MB, free: 51.83 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.31e-05/0.1692, allocations: 83.55 kB / 447.6 MB, free: 51.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001208/0.1693, allocations: 235.8 kB / 447.9 MB, free: 51.59 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002179/0.1695, allocations: 313.6 kB / 448.2 MB, free: 51.35 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.1695, allocations: 11.06 kB / 448.2 MB, free: 51.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0004517/0.17, allocations: 429.5 kB / 448.6 MB, free: 51.16 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.17, allocations: 9.781 kB / 448.6 MB, free: 51.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.17, allocations: 6.562 kB / 448.6 MB, free: 51.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002315/0.1702, allocations: 95.28 kB / 448.7 MB, free: 51.13 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001194/0.1703, allocations: 63.41 kB / 448.8 MB, free: 51.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001197/0.1715, allocations: 1.901 MB / 450.7 MB, free: 49.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001332/0.1717, allocations: 19.09 kB / 450.7 MB, free: 49.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.864e-05/0.1717, allocations: 20.3 kB / 450.7 MB, free: 49.51 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 2 (system.initime,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001194/0.1718, allocations: 190.8 kB / 450.9 MB, free: 49.36 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.276e-05/0.1718, allocations: 46.09 kB / 451 MB, free: 49.33 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003207/0.1722, allocations: 298.9 kB / 451.3 MB, free: 49.18 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.1722, allocations: 5.375 kB / 451.3 MB, free: 49.18 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.1722, allocations: 3.031 kB / 451.3 MB, free: 49.18 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.1722, allocations: 6.984 kB / 451.3 MB, free: 49.18 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005461/0.1727, allocations: 0.7032 MB / 452 MB, free: 48.74 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.1727, allocations: 0 / 452 MB, free: 48.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001194/0.1728, allocations: 46.42 kB / 452 MB, free: 48.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.972e-05/0.1729, allocations: 48.36 kB / 452.1 MB, free: 48.72 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.173, allocations: 10.84 kB / 452.1 MB, free: 48.72 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005257/0.1735, allocations: 1.439 MB / 453.5 MB, free: 47.38 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1735, allocations: 3.062 kB / 453.5 MB, free: 47.38 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003873/0.1739, allocations: 0.4954 MB / 454 MB, free: 47.08 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.699e-05/0.1739, allocations: 54.17 kB / 454.1 MB, free: 47.05 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.384e-05/0.174, allocations: 13.73 kB / 454.1 MB, free: 47.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.1741, allocations: 13.25 kB / 454.1 MB, free: 47.04 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.139e-05/0.1741, allocations: 29.02 kB / 454.1 MB, free: 47.03 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/0.1741, allocations: 10.34 kB / 454.1 MB, free: 47.03 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001793/0.1743, allocations: 289.3 kB / 454.4 MB, free: 46.88 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1743, allocations: 0 / 454.4 MB, free: 46.88 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003475/0.1747, allocations: 123.6 kB / 454.5 MB, free: 46.87 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dcm_ser.rotor.phi,dcm_ser.rotor.w,dcm_ser.motor.i,tabLoad.s) * Number of discrete variables: 2 ($whenCondition1,system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001226/0.1759, allocations: 1.419 MB / 455.9 MB, free: 45.98 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005286/0.1764, allocations: 404.7 kB / 456.3 MB, free: 45.78 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.1764, allocations: 3.281 kB / 456.3 MB, free: 45.78 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000185/0.1766, allocations: 229.2 kB / 456.6 MB, free: 45.63 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003964/0.177, allocations: 133.8 kB / 456.7 MB, free: 45.59 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003094/0.1801, allocations: 3.986 MB / 460.7 MB, free: 43.07 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001493/0.1803, allocations: 253.9 kB / 460.9 MB, free: 42.96 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001942/0.1804, allocations: 63.78 kB / 461 MB, free: 42.95 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001777/0.1806, allocations: 158.5 kB / 461.2 MB, free: 42.83 MB / 410.7 MB Notification: Performance of SimCode: time 9.41e-07/0.1806, allocations: 0 / 461.2 MB, free: 42.83 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02569/0.2063, allocations: 12.61 MB / 473.8 MB, free: 40.54 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.899/8.105, allocations: 22.3 kB / 473.8 MB, free: 40.52 MB / 410.7 MB " [Timeout remaining time 652] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC1ph_DC_Drives_DCmotor_ser_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC1ph_DC_Drives_DCmotor_ser.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.95489237550646] Failed to read output from testmodel.py, exit status != 0: 8.218556487932801 8.22842686 8.215802837 Calling exit ...