Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.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.001174/0.001174, allocations: 88.33 kB / 20.95 MB, free: 3.473 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.001306/0.001306, allocations: 165.3 kB / 24.27 MB, free: 164 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.8902/0.8902, allocations: 177.2 MB / 204.6 MB, free: 5.582 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.2299/0.2299, allocations: 29.42 MB / 290.5 MB, free: 2.426 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.AC3ph.Elementary.Machines,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Machines",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Machines,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Machines",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.243e-06/1.243e-06, allocations: 0 / 368.4 MB, free: 11.78 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.021e-05/1.145e-05, allocations: 2.312 kB / 368.4 MB, free: 11.77 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Machines): time 0.004567/0.004579, allocations: 5.206 MB / 373.6 MB, free: 6.535 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004272/0.008851, allocations: 3.813 MB / 377.4 MB, free: 2.707 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003238/0.009175, allocations: 27.75 kB / 377.4 MB, free: 2.68 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006282/0.01546, allocations: 5.481 MB / 382.9 MB, free: 13.19 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005053/0.01596, allocations: 349.9 kB / 383.3 MB, free: 12.84 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004259/0.01639, allocations: 267.3 kB / 383.5 MB, free: 12.58 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001298/0.01769, allocations: 1.676 MB / 385.2 MB, free: 10.9 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000385/0.01807, allocations: 328.4 kB / 385.5 MB, free: 10.58 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000399/0.01847, allocations: 0.4986 MB / 386 MB, free: 10.08 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003802/0.01885, allocations: 430.7 kB / 386.4 MB, free: 9.66 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.14e-05/0.0189, allocations: 44 kB / 386.5 MB, free: 9.617 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001833/0.01909, allocations: 119.8 kB / 386.6 MB, free: 9.5 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001718/0.01926, allocations: 299.2 kB / 386.9 MB, free: 9.207 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004117/0.01967, allocations: 219.5 kB / 387.1 MB, free: 8.992 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005553/0.02022, allocations: 0.7515 MB / 387.9 MB, free: 8.238 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.786e-06/0.02023, allocations: 0 / 387.9 MB, free: 8.238 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.02023, allocations: 0 / 387.9 MB, free: 8.238 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.02024, allocations: 0 / 387.9 MB, free: 8.238 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001007/0.02124, allocations: 0.8491 MB / 388.7 MB, free: 7.352 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.02129, allocations: 15.98 kB / 388.7 MB, free: 7.336 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.321e-05/0.02136, allocations: 86.7 kB / 388.8 MB, free: 7.242 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003393/0.0217, allocations: 144.4 kB / 389 MB, free: 7.102 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006279/0.02233, allocations: 0.5041 MB / 389.5 MB, free: 6.574 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.672e-05/0.02235, allocations: 41.11 kB / 389.5 MB, free: 6.535 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.222e-05/0.02242, allocations: 55.95 kB / 389.6 MB, free: 6.48 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006355/0.02305, allocations: 0.6492 MB / 390.2 MB, free: 5.793 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/0.02307, allocations: 3.938 kB / 390.2 MB, free: 5.789 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.137e-05/0.0231, allocations: 16 kB / 390.2 MB, free: 5.773 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.561e-05/0.02317, allocations: 52.95 kB / 390.3 MB, free: 5.723 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005028/0.02368, allocations: 491.6 kB / 390.8 MB, free: 5.242 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002026/0.0257, allocations: 2.347 MB / 393.1 MB, free: 2.77 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003334/0.02604, allocations: 295.6 kB / 393.4 MB, free: 2.453 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001672/0.0262, allocations: 170.6 kB / 393.6 MB, free: 2.277 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.595e-05/0.02623, allocations: 7.938 kB / 393.6 MB, free: 2.27 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/0.02626, allocations: 42.55 kB / 393.6 MB, free: 2.219 MB / 362.7 MB Notification: Performance of pre-optimization done (n=32): time 1.733e-06/0.02626, allocations: 0 / 393.6 MB, free: 2.219 MB / 362.7 MB Notification: Performance of matching and sorting (n=33): time 0.001829/0.02809, allocations: 1.281 MB / 394.9 MB, free: 0.8945 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.03e-05/0.02814, allocations: 110.8 kB / 395 MB, free: 0.7617 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002985/0.02844, allocations: 433.8 kB / 395.4 MB, free: 340 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.422e-05/0.02846, allocations: 29.7 kB / 395.4 MB, free: 304 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001557/0.02862, allocations: 316.4 kB / 395.8 MB, free: 15.98 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.826e-05/0.02869, allocations: 122.9 kB / 395.9 MB, free: 15.86 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.311e-05/0.02877, allocations: 90.14 kB / 396 MB, free: 15.76 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.856e-05/0.02887, allocations: 362.9 kB / 396.3 MB, free: 15.4 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001707/0.02904, allocations: 164.9 kB / 396.5 MB, free: 15.24 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000222/0.02926, allocations: 301.2 kB / 396.8 MB, free: 14.89 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004132/0.02967, allocations: 491.4 kB / 397.3 MB, free: 14.35 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.02968, allocations: 7.688 kB / 397.3 MB, free: 14.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0007759/0.03045, allocations: 0.7366 MB / 398 MB, free: 13.59 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.03046, allocations: 7.938 kB / 398 MB, free: 13.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.03047, allocations: 7.984 kB / 398 MB, free: 13.58 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004168/0.03089, allocations: 237.5 kB / 398.2 MB, free: 13.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001705/0.03106, allocations: 79.89 kB / 398.3 MB, free: 13.26 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003085/0.03414, allocations: 4.009 MB / 402.3 MB, free: 9.031 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001297/0.03427, allocations: 15.98 kB / 402.3 MB, free: 9.016 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.47e-05/0.0343, allocations: 23.94 kB / 402.4 MB, free: 8.992 MB / 378.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): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 1 system {(3,10)} Notification: Performance of prepare postOptimizeDAE: time 0.000168/0.03447, allocations: 225.7 kB / 402.6 MB, free: 8.762 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.503e-05/0.03453, allocations: 63.67 kB / 402.7 MB, free: 8.699 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005014/0.03503, allocations: 0.4913 MB / 403.1 MB, free: 8.195 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.03504, allocations: 4 kB / 403.1 MB, free: 8.191 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/0.03504, allocations: 0 / 403.1 MB, free: 8.191 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.03505, allocations: 7.984 kB / 403.2 MB, free: 8.184 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009109/0.03596, allocations: 0.9692 MB / 404.1 MB, free: 7.152 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.03596, allocations: 0 / 404.1 MB, free: 7.152 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000217/0.03618, allocations: 79.88 kB / 404.2 MB, free: 7.074 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.763e-05/0.03626, allocations: 57.73 kB / 404.3 MB, free: 7.012 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.773e-05/0.03628, allocations: 11.94 kB / 404.3 MB, free: 7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001112/0.03739, allocations: 2.617 MB / 406.9 MB, free: 4.156 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.0374, allocations: 3.938 kB / 406.9 MB, free: 4.152 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006742/0.03807, allocations: 0.8265 MB / 407.7 MB, free: 3.293 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.72e-05/0.03816, allocations: 79.56 kB / 407.8 MB, free: 3.215 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.109e-05/0.03819, allocations: 16.16 kB / 407.8 MB, free: 3.199 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001304/0.03832, allocations: 11.98 kB / 407.8 MB, free: 3.188 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.511e-05/0.03836, allocations: 27.95 kB / 407.9 MB, free: 3.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.529e-05/0.03838, allocations: 8 kB / 407.9 MB, free: 3.152 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004497/0.03883, allocations: 295.1 kB / 408.1 MB, free: 2.863 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03883, allocations: 3.938 kB / 408.2 MB, free: 2.859 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003345/0.03916, allocations: 132 kB / 408.3 MB, free: 2.73 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (asynchron.i[3],asynchron.phi_el,asynchron.psi_s[1],asynchron.psi_s[2],asynchron.psi_rd[1],asynchron.psi_rq[1],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 (35): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008547/0.04002, allocations: 1.359 MB / 409.6 MB, free: 1.324 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007444/0.04076, allocations: 0.7123 MB / 410.4 MB, free: 0.5859 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.04076, allocations: 0 / 410.4 MB, free: 0.5859 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002815/0.04104, allocations: 413.9 kB / 410.8 MB, free: 160 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004371/0.04148, allocations: 115.8 kB / 410.9 MB, free: 52 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004671/0.04615, allocations: 5.279 MB / 416.1 MB, free: 10.54 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002339/0.04639, allocations: 348.8 kB / 416.5 MB, free: 10.17 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001886/0.04658, allocations: 108.4 kB / 416.6 MB, free: 10.07 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001924/0.04677, allocations: 200.4 kB / 416.8 MB, free: 9.871 MB / 394.7 MB Notification: Performance of SimCode: time 7.21e-07/0.04677, allocations: 0 / 416.8 MB, free: 9.871 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02569/0.07246, allocations: 13.38 MB / 430.2 MB, free: 12.73 MB / 410.7 MB Notification: Building FMU for platform 'static' (1/1). Notification: Finished FMU for platform 'static' (1/1). Notification: Performance of buildModelFMU: Generate platform static: time 8.058/8.131, allocations: 10.81 kB / 430.2 MB, free: 12.72 MB / 410.7 MB " [Timeout remaining time 652] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines_OMSimulator.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines_OMSimulator.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines_OMSimulator.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Machines_OMSimulator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Machines.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines_OMSimulator.pipe 2>&1) [Timeout 52.5] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines_fmpy.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines_fmpy.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines_fmpy.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines_fmpy_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_AC3ph_Elementary_Machines.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.176118057977874]