Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.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.0007839/0.0007839, allocations: 91.66 kB / 20.95 MB, free: 3.602 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.0008391/0.0008391, allocations: 170 kB / 24.26 MB, free: 292 kB / 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.9029/0.9029, allocations: 177.2 MB / 204.6 MB, free: 5.586 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.2363/0.2363, allocations: 29.42 MB / 290.5 MB, free: 2.438 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.Elementary.Machines,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Machines",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Machines,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Machines",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 368.4 MB, free: 11.82 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2e-05/2.167e-05, allocations: 2.312 kB / 368.4 MB, free: 11.82 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Machines): time 0.006296/0.006318, allocations: 4.447 MB / 372.8 MB, free: 7.344 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001799/0.008117, allocations: 1.386 MB / 374.2 MB, free: 5.953 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002014/0.008318, allocations: 23.81 kB / 374.2 MB, free: 5.93 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000351/0.008669, allocations: 111.1 kB / 374.4 MB, free: 5.82 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004533/0.009123, allocations: 282.1 kB / 374.6 MB, free: 5.543 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002208/0.009343, allocations: 111.8 kB / 374.7 MB, free: 5.434 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005355/0.009879, allocations: 0.5251 MB / 375.3 MB, free: 4.906 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001904/0.01007, allocations: 100.5 kB / 375.4 MB, free: 4.809 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002861/0.01036, allocations: 291.2 kB / 375.6 MB, free: 4.523 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002/0.01056, allocations: 175.5 kB / 375.8 MB, free: 4.352 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.346e-05/0.01059, allocations: 24 kB / 375.8 MB, free: 4.328 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.639e-05/0.01063, allocations: 28 kB / 375.9 MB, free: 4.301 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.481e-05/0.01071, allocations: 111.6 kB / 376 MB, free: 4.191 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 9.867e-05/0.01081, allocations: 123.7 kB / 376.1 MB, free: 4.07 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000317/0.01113, allocations: 374.7 kB / 376.5 MB, free: 3.703 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.01113, allocations: 4 kB / 376.5 MB, free: 3.699 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.01113, allocations: 0 / 376.5 MB, free: 3.699 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.01113, allocations: 0 / 376.5 MB, free: 3.699 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0007488/0.01188, allocations: 0.5838 MB / 377 MB, free: 3.086 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.01192, allocations: 19.98 kB / 377.1 MB, free: 3.066 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.882e-05/0.01197, allocations: 58.73 kB / 377.1 MB, free: 3 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.787e-05/0.01205, allocations: 60.7 kB / 377.2 MB, free: 2.941 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004171/0.01246, allocations: 368.6 kB / 377.5 MB, free: 2.559 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.01248, allocations: 25.02 kB / 377.6 MB, free: 2.535 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.055e-05/0.01252, allocations: 36.11 kB / 377.6 MB, free: 2.5 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003471/0.01287, allocations: 331.6 kB / 377.9 MB, free: 2.137 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.01288, allocations: 3.938 kB / 377.9 MB, free: 2.133 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.068e-05/0.01291, allocations: 12 kB / 377.9 MB, free: 2.121 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.959e-06/0.01292, allocations: 12 kB / 378 MB, free: 2.109 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002334/0.01315, allocations: 201.8 kB / 378.2 MB, free: 1.914 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001007/0.01416, allocations: 1.394 MB / 379.5 MB, free: 440 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002746/0.01443, allocations: 198.3 kB / 379.7 MB, free: 204 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.632e-05/0.01451, allocations: 67.47 kB / 379.8 MB, free: 124 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.669e-05/0.01452, allocations: 8 kB / 379.8 MB, free: 116 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/0.01455, allocations: 42.5 kB / 379.9 MB, free: 64 kB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 1.263e-06/0.01455, allocations: 0 / 379.9 MB, free: 64 kB / 346.7 MB Notification: Performance of matching and sorting (n=18): time 0.0007855/0.01533, allocations: 0.6162 MB / 380.5 MB, free: 15.41 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.414e-05/0.01539, allocations: 136.5 kB / 380.6 MB, free: 15.24 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000219/0.01561, allocations: 317.6 kB / 380.9 MB, free: 14.93 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/0.01563, allocations: 33.7 kB / 380.9 MB, free: 14.89 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.01574, allocations: 228 kB / 381.2 MB, free: 14.66 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.941e-05/0.01578, allocations: 63.81 kB / 381.2 MB, free: 14.6 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.266e-05/0.01583, allocations: 53.7 kB / 381.3 MB, free: 14.54 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.383e-05/0.01593, allocations: 342.8 kB / 381.6 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.956e-05/0.016, allocations: 51.97 kB / 381.7 MB, free: 14.15 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001046/0.0161, allocations: 144.9 kB / 381.8 MB, free: 13.96 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001896/0.01629, allocations: 220.9 kB / 382 MB, free: 13.7 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.01629, allocations: 3.938 kB / 382 MB, free: 13.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002522/0.01654, allocations: 276.5 kB / 382.3 MB, free: 13.42 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.01656, allocations: 8 kB / 382.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.01656, allocations: 4 kB / 382.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.01658, allocations: 4 kB / 382.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002094/0.01679, allocations: 79.89 kB / 382.4 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005958/0.01738, allocations: 1.274 MB / 383.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.761e-05/0.01746, allocations: 12 kB / 383.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.01747, allocations: 8 kB / 383.7 MB, free: 11.93 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001247/0.0176, allocations: 165.8 kB / 383.9 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.665e-05/0.01768, allocations: 43.69 kB / 383.9 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002858/0.01797, allocations: 188.6 kB / 384.1 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.01797, allocations: 4 kB / 384.1 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.694e-06/0.01797, allocations: 0 / 384.1 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.01798, allocations: 0 / 384.1 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005038/0.01848, allocations: 0.5052 MB / 384.6 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.01848, allocations: 4 kB / 384.6 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001361/0.01862, allocations: 47.86 kB / 384.6 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.01862, allocations: 0 / 384.6 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.01864, allocations: 7.984 kB / 384.6 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.01864, allocations: 0 / 384.6 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.01864, allocations: 8.031 kB / 384.7 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003467/0.01899, allocations: 0.4938 MB / 385.1 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.247e-05/0.01902, allocations: 31.77 kB / 385.2 MB, free: 10.35 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.003e-05/0.01904, allocations: 4 kB / 385.2 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.01914, allocations: 4 kB / 385.2 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.427e-05/0.01917, allocations: 11.97 kB / 385.2 MB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.278e-05/0.01918, allocations: 15.94 kB / 385.2 MB, free: 10.31 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001442/0.01933, allocations: 215.2 kB / 385.4 MB, free: 10.1 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01933, allocations: 0 / 385.4 MB, free: 10.1 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002686/0.01959, allocations: 64 kB / 385.5 MB, free: 10.04 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (rotor.phi,rotor.w,motor.i) * 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.0005346/0.02013, allocations: 1.04 MB / 386.5 MB, free: 8.969 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002403/0.02037, allocations: 148 kB / 386.7 MB, free: 8.82 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.02037, allocations: 4 kB / 386.7 MB, free: 8.816 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.421e-05/0.02044, allocations: 67.41 kB / 386.7 MB, free: 8.754 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004835/0.02093, allocations: 100.9 kB / 386.8 MB, free: 8.664 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002509/0.02344, allocations: 3.199 MB / 390 MB, free: 5.285 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001547/0.02359, allocations: 197.1 kB / 390.2 MB, free: 5.066 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001065/0.0237, allocations: 50.92 kB / 390.3 MB, free: 5.02 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000127/0.02383, allocations: 116.5 kB / 390.4 MB, free: 4.906 MB / 362.7 MB Notification: Performance of SimCode: time 6.21e-07/0.02383, allocations: 0 / 390.4 MB, free: 4.906 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01954/0.04337, allocations: 7.777 MB / 398.2 MB, free: 13.29 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.954/6.997, allocations: 7.172 kB / 398.2 MB, free: 13.29 MB / 378.7 MB " [Timeout remaining time 653] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Machines.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.879633665084839] Failed to read output from testmodel.py, exit status != 0: 7.085931611247361 7.09532964 7.08259582 Calling exit ...