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.001177/0.001177, allocations: 79.7 kB / 20.67 MB, free: 3.895 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.001068/0.001068, allocations: 170 kB / 23.94 MB, free: 0.6211 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.8672/0.8672, allocations: 177.1 MB / 204.2 MB, free: 5.742 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.2332/0.2332, allocations: 29.41 MB / 290.1 MB, free: 2.461 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 2.014e-06/2.014e-06, allocations: 0 / 430.2 MB, free: 13.62 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.257e-05/2.459e-05, allocations: 3.969 kB / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed): time 0.005157/0.005182, allocations: 4.681 MB / 434.9 MB, free: 8.902 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002316/0.007498, allocations: 1.398 MB / 436.3 MB, free: 7.5 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003514/0.007849, allocations: 23.75 kB / 436.3 MB, free: 7.477 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004301/0.008279, allocations: 111.1 kB / 436.4 MB, free: 7.367 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008245/0.009104, allocations: 282.1 kB / 436.7 MB, free: 7.09 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004075/0.009511, allocations: 135.7 kB / 436.8 MB, free: 6.957 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007964/0.01031, allocations: 0.6147 MB / 437.4 MB, free: 6.34 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004192/0.01073, allocations: 283.3 kB / 437.7 MB, free: 6.055 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004588/0.01119, allocations: 359 kB / 438.1 MB, free: 5.703 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002957/0.01148, allocations: 195.4 kB / 438.3 MB, free: 5.512 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.72e-05/0.01153, allocations: 36 kB / 438.3 MB, free: 5.477 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.938e-05/0.01158, allocations: 40 kB / 438.3 MB, free: 5.438 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001043/0.01168, allocations: 127.6 kB / 438.5 MB, free: 5.312 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000147/0.01183, allocations: 163.7 kB / 438.6 MB, free: 5.152 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004735/0.0123, allocations: 0.4985 MB / 439.1 MB, free: 4.652 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.01231, allocations: 3.938 kB / 439.1 MB, free: 4.648 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.01231, allocations: 0 / 439.1 MB, free: 4.648 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.1e-05/0.01232, allocations: 0 / 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.001071/0.01339, allocations: 0.639 MB / 439.8 MB, free: 3.98 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.01344, allocations: 19.97 kB / 439.8 MB, free: 3.961 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.807e-05/0.01351, allocations: 70.72 kB / 439.8 MB, free: 3.883 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.725e-05/0.01358, allocations: 48.66 kB / 439.9 MB, free: 3.836 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004785/0.01406, allocations: 348 kB / 440.2 MB, free: 3.469 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.404e-05/0.01416, allocations: 84.95 kB / 440.3 MB, free: 3.375 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.076e-05/0.01421, allocations: 39.94 kB / 440.4 MB, free: 3.336 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004937/0.0147, allocations: 432.3 kB / 440.8 MB, free: 2.875 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.349e-05/0.01472, allocations: 7.891 kB / 440.8 MB, free: 2.867 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.19e-05/0.01476, allocations: 12 kB / 440.8 MB, free: 2.855 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.468e-05/0.01477, allocations: 12 kB / 440.8 MB, free: 2.844 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003817/0.01515, allocations: 274.3 kB / 441.1 MB, free: 2.574 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001653/0.0168, allocations: 1.692 MB / 442.8 MB, free: 0.7773 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002651/0.01707, allocations: 175.5 kB / 442.9 MB, free: 0.5781 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.784e-05/0.01716, allocations: 74.67 kB / 443 MB, free: 0.4961 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.745e-05/0.01717, allocations: 4 kB / 443 MB, free: 0.4922 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.0172, allocations: 34.56 kB / 443.1 MB, free: 460 kB / 410.7 MB Notification: Performance of pre-optimization done (n=18): time 1.994e-06/0.0172, allocations: 0 / 443.1 MB, free: 460 kB / 410.7 MB Notification: Performance of matching and sorting (n=19): time 0.1831/0.2003, allocations: 0.6333 MB / 443.7 MB, free: 54.71 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.449e-05/0.2004, allocations: 111.8 kB / 443.8 MB, free: 54.59 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002867/0.2007, allocations: 325.2 kB / 444.1 MB, free: 54.48 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.512e-05/0.2007, allocations: 28.89 kB / 444.1 MB, free: 54.45 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/0.2008, allocations: 246.8 kB / 444.4 MB, free: 54.31 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.01e-05/0.2008, allocations: 70.31 kB / 444.4 MB, free: 54.27 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.14e-05/0.2009, allocations: 66.03 kB / 444.5 MB, free: 54.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.96e-05/0.2009, allocations: 340 kB / 444.8 MB, free: 53.93 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001318/0.2011, allocations: 80.55 kB / 444.9 MB, free: 53.93 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000126/0.2012, allocations: 195 kB / 445.1 MB, free: 53.78 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002441/0.2014, allocations: 287.7 kB / 445.4 MB, free: 53.63 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.2014, allocations: 10.72 kB / 445.4 MB, free: 53.63 MB / 410.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003518/0.2018, allocations: 335 kB / 445.7 MB, free: 53.48 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/0.2018, allocations: 6.281 kB / 445.7 MB, free: 53.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.2018, allocations: 6.375 kB / 445.7 MB, free: 53.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.49e-05/0.2019, allocations: 6.281 kB / 445.8 MB, free: 53.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002031/0.2021, allocations: 72.67 kB / 445.8 MB, free: 53.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.38e-05/0.2021, allocations: 10.62 kB / 445.8 MB, free: 53.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001312/0.2022, allocations: 18.19 kB / 445.9 MB, free: 53.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.826e-05/0.2022, allocations: 21.94 kB / 445.9 MB, free: 53.46 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.0001653/0.2024, allocations: 173.1 kB / 446 MB, free: 53.31 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.875e-05/0.2024, allocations: 38.84 kB / 446.1 MB, free: 53.29 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003207/0.2028, allocations: 195.1 kB / 446.3 MB, free: 53.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.2028, allocations: 3.25 kB / 446.3 MB, free: 53.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.2028, allocations: 1.5 kB / 446.3 MB, free: 53.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.2028, allocations: 0 / 446.3 MB, free: 53.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000616/0.2034, allocations: 0.5748 MB / 446.8 MB, free: 52.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.2034, allocations: 0 / 446.8 MB, free: 52.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000145/0.2035, allocations: 37.61 kB / 446.9 MB, free: 52.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.2035, allocations: 2.875 kB / 446.9 MB, free: 52.8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.2036, allocations: 8.562 kB / 446.9 MB, free: 52.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.2036, allocations: 3.031 kB / 446.9 MB, free: 52.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.2036, allocations: 3.938 kB / 446.9 MB, free: 52.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003455/0.2039, allocations: 445.8 kB / 447.3 MB, free: 52.49 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.343e-05/0.2039, allocations: 36.94 kB / 447.4 MB, free: 52.46 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.812e-05/0.204, allocations: 7.062 kB / 447.4 MB, free: 52.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.644e-05/0.2041, allocations: 7.25 kB / 447.4 MB, free: 52.46 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.702e-05/0.2041, allocations: 13.17 kB / 447.4 MB, free: 52.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.2041, allocations: 7.125 kB / 447.4 MB, free: 52.45 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001248/0.2042, allocations: 225.3 kB / 447.6 MB, free: 52.33 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.2042, allocations: 2.906 kB / 447.6 MB, free: 52.33 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003057/0.2046, allocations: 69.12 kB / 447.7 MB, free: 52.32 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.000449/0.205, allocations: 0.9793 MB / 448.7 MB, free: 51.48 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002459/0.2052, allocations: 188 kB / 448.9 MB, free: 51.42 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.2052, allocations: 9.422 kB / 448.9 MB, free: 51.42 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.043e-05/0.2053, allocations: 77.89 kB / 448.9 MB, free: 51.39 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004489/0.2058, allocations: 96.14 kB / 449 MB, free: 51.37 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00247/0.2083, allocations: 3.302 MB / 452.3 MB, free: 49.08 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001345/0.2084, allocations: 214.4 kB / 452.6 MB, free: 48.98 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001362/0.2085, allocations: 49.86 kB / 452.6 MB, free: 48.97 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000112/0.2086, allocations: 126.1 kB / 452.7 MB, free: 48.88 MB / 410.7 MB Notification: Performance of SimCode: time 8.91e-07/0.2086, allocations: 0 / 452.7 MB, free: 48.88 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02291/0.2316, allocations: 8.009 MB / 460.7 MB, free: 47.43 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.896/7.127, allocations: 16.75 kB / 460.8 MB, free: 47.42 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 & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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: 9.108187151141465] Failed to read output from testmodel.py, exit status != 0: 7.211036722175777 7.222813886 7.2087106930000004 Calling exit ...