Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.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.001178/0.001178, 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.001124/0.001124, 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.8742/0.8742, allocations: 177.1 MB / 204.3 MB, free: 5.715 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.2124/0.2124, allocations: 29.41 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_par,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Drives_DCmotor_par",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Drives_DCmotor_par",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 430.2 MB, free: 13.6 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.302e-05/2.508e-05, allocations: 2.281 kB / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par): time 0.005477/0.005502, allocations: 5.496 MB / 435.7 MB, free: 8.066 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002775/0.008277, allocations: 2.15 MB / 437.9 MB, free: 5.91 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000325/0.008602, allocations: 23.81 kB / 437.9 MB, free: 5.887 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005336/0.009136, allocations: 162.7 kB / 438 MB, free: 5.727 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009162/0.01005, allocations: 477 kB / 438.5 MB, free: 5.258 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004806/0.01053, allocations: 251.4 kB / 438.7 MB, free: 5.012 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009804/0.01151, allocations: 0.8795 MB / 439.6 MB, free: 4.129 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004637/0.01198, allocations: 389.1 kB / 440 MB, free: 3.738 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005427/0.01252, allocations: 0.4986 MB / 440.5 MB, free: 3.238 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003715/0.01289, allocations: 287.2 kB / 440.8 MB, free: 2.957 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.492e-05/0.01295, allocations: 56 kB / 440.8 MB, free: 2.902 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002251/0.01317, allocations: 147.8 kB / 441 MB, free: 2.758 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001397/0.01331, allocations: 195.4 kB / 441.2 MB, free: 2.566 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001563/0.01347, allocations: 211.4 kB / 441.4 MB, free: 2.359 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007442/0.01421, allocations: 0.7905 MB / 442.2 MB, free: 1.566 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.01422, allocations: 0 / 442.2 MB, free: 1.566 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.01422, allocations: 0 / 442.2 MB, free: 1.566 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.541e-05/0.01423, allocations: 4 kB / 442.2 MB, free: 1.562 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001286/0.01552, allocations: 0.853 MB / 443 MB, free: 0.6758 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.01556, allocations: 19.97 kB / 443 MB, free: 0.6562 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.171e-05/0.01563, allocations: 82.72 kB / 443.1 MB, free: 0.5664 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.896e-05/0.01573, allocations: 60.56 kB / 443.2 MB, free: 0.5078 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000644/0.01637, allocations: 467.1 kB / 443.6 MB, free: 24 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.1588/0.1752, allocations: 30.61 kB / 443.7 MB, free: 54.77 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002245/0.1754, allocations: 45.69 kB / 443.7 MB, free: 54.77 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005818/0.176, allocations: 0.5394 MB / 444.3 MB, free: 54.61 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.702e-05/0.176, allocations: 2.938 kB / 444.3 MB, free: 54.61 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.111e-05/0.1761, allocations: 18.81 kB / 444.3 MB, free: 54.61 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.631e-05/0.1761, allocations: 19.78 kB / 444.3 MB, free: 54.61 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003144/0.1764, allocations: 336.3 kB / 444.6 MB, free: 54.59 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001506/0.1779, allocations: 1.889 MB / 446.5 MB, free: 53.23 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002616/0.1782, allocations: 226 kB / 446.7 MB, free: 53.1 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.187e-05/0.1783, allocations: 80 kB / 446.8 MB, free: 53.05 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.403e-05/0.1783, allocations: 10.47 kB / 446.8 MB, free: 53.05 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001645/0.1785, allocations: 167.7 kB / 447 MB, free: 52.95 MB / 410.7 MB Notification: Performance of pre-optimization done (n=23): time 2.334e-06/0.1785, allocations: 1.625 kB / 447 MB, free: 52.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.001007/0.1795, allocations: 0.8629 MB / 447.9 MB, free: 52.42 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.274e-05/0.1795, allocations: 134.2 kB / 448 MB, free: 52.26 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002744/0.1798, allocations: 450.1 kB / 448.4 MB, free: 52.05 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.335e-05/0.1798, allocations: 29.7 kB / 448.5 MB, free: 52.01 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.97e-05/0.1799, allocations: 308.6 kB / 448.8 MB, free: 51.79 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.387e-05/0.1799, allocations: 88.23 kB / 448.8 MB, free: 51.73 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.625e-05/0.18, allocations: 79.3 kB / 448.9 MB, free: 51.68 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.115e-05/0.18, allocations: 354.3 kB / 449.3 MB, free: 51.35 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.075e-05/0.1801, allocations: 94.92 kB / 449.4 MB, free: 51.32 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001177/0.1802, allocations: 247.8 kB / 449.6 MB, free: 51.09 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002153/0.1805, allocations: 327.5 kB / 449.9 MB, free: 50.84 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1805, allocations: 3.094 kB / 449.9 MB, free: 50.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004431/0.1809, allocations: 444.1 kB / 450.4 MB, free: 50.64 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.1809, allocations: 11.48 kB / 450.4 MB, free: 50.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.1809, allocations: 6.344 kB / 450.4 MB, free: 50.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002156/0.1811, allocations: 93.19 kB / 450.5 MB, free: 50.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/0.1813, allocations: 76.16 kB / 450.5 MB, free: 50.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001001/0.1823, allocations: 1.7 MB / 452.2 MB, free: 49.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001344/0.1824, allocations: 23.95 kB / 452.3 MB, free: 49.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.624e-05/0.1824, allocations: 20 kB / 452.3 MB, free: 49.15 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: 2 (system.initime,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * 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 {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001316/0.1825, allocations: 208.6 kB / 452.5 MB, free: 48.99 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.218e-05/0.1826, allocations: 46.2 kB / 452.5 MB, free: 48.96 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002986/0.1829, allocations: 284.8 kB / 452.8 MB, free: 48.83 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.1829, allocations: 6.188 kB / 452.8 MB, free: 48.83 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.1829, allocations: 3.25 kB / 452.8 MB, free: 48.83 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.1829, allocations: 6.281 kB / 452.8 MB, free: 48.83 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005914/0.1835, allocations: 0.7183 MB / 453.5 MB, free: 48.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.1835, allocations: 0 / 453.5 MB, free: 48.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001371/0.1836, allocations: 49.95 kB / 453.6 MB, free: 48.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001045/0.1837, allocations: 59.75 kB / 453.6 MB, free: 48.36 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.1837, allocations: 7.188 kB / 453.7 MB, free: 48.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005264/0.1843, allocations: 1.425 MB / 455.1 MB, free: 47.02 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.1843, allocations: 4.344 kB / 455.1 MB, free: 47.02 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000369/0.1846, allocations: 483.3 kB / 455.6 MB, free: 46.73 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.037e-05/0.1847, allocations: 55.25 kB / 455.6 MB, free: 46.69 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.658e-05/0.1847, allocations: 11.03 kB / 455.6 MB, free: 46.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.1848, allocations: 16.66 kB / 455.6 MB, free: 46.68 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.725e-05/0.1849, allocations: 20.31 kB / 455.7 MB, free: 46.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.285e-05/0.1849, allocations: 9.844 kB / 455.7 MB, free: 46.67 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001806/0.1851, allocations: 309.4 kB / 456 MB, free: 46.52 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1851, allocations: 0 / 456 MB, free: 46.52 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003354/0.1854, allocations: 129.5 kB / 456.1 MB, free: 46.51 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (dcm_par.rotor.phi,dcm_par.rotor.w,dcm_par.motor.i,dcm_par.motor.i_f,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 (22): * Single equations (assignments): 20 * 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.001181/0.1866, allocations: 1.4 MB / 457.5 MB, free: 45.63 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004349/0.187, allocations: 376.9 kB / 457.9 MB, free: 45.43 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.187, allocations: 0 / 457.9 MB, free: 45.43 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001673/0.1872, allocations: 233.5 kB / 458.1 MB, free: 45.29 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004164/0.1876, allocations: 140 kB / 458.2 MB, free: 45.23 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002965/0.1906, allocations: 4.148 MB / 462.4 MB, free: 42.61 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001559/0.1907, allocations: 279.7 kB / 462.6 MB, free: 42.5 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001616/0.1909, allocations: 66.84 kB / 462.7 MB, free: 42.48 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001312/0.191, allocations: 181.2 kB / 462.9 MB, free: 42.35 MB / 410.7 MB Notification: Performance of SimCode: time 7.51e-07/0.191, allocations: 0 / 462.9 MB, free: 42.35 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02585/0.2169, allocations: 13.15 MB / 476 MB, free: 39.99 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.837/8.054, allocations: 3.859 kB / 476 MB, free: 39.98 MB / 410.7 MB " [Timeout remaining time 652] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC1ph_DC_Drives_DCmotor_par_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC1ph_DC_Drives_DCmotor_par.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.897478701546788] Failed to read output from testmodel.py, exit status != 0: 8.165086976252496 8.17340458 8.157192202 Calling exit ...