Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.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.0008647/0.0008647, allocations: 88.33 kB / 20.96 MB, free: 3.469 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.0008533/0.0008533, allocations: 161.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.8598/0.8598, allocations: 177.2 MB / 204.6 MB, free: 5.574 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.2228/0.2228, allocations: 29.42 MB / 290.5 MB, free: 2.43 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.Transmission.PowerTransfer,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 368.4 MB, free: 11.8 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.996e-05/2.124e-05, allocations: 2.312 kB / 368.4 MB, free: 11.8 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.003784/0.003805, allocations: 4.588 MB / 373 MB, free: 7.18 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001518/0.005323, allocations: 1.273 MB / 374.3 MB, free: 5.902 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001366/0.00546, allocations: 23.75 kB / 374.3 MB, free: 5.879 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006471/0.006107, allocations: 398.1 kB / 374.7 MB, free: 5.488 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000292/0.006399, allocations: 242.6 kB / 374.9 MB, free: 5.25 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002636/0.006663, allocations: 187.3 kB / 375.1 MB, free: 5.066 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003714/0.007034, allocations: 0.5644 MB / 375.7 MB, free: 4.5 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003018/0.007336, allocations: 254.2 kB / 375.9 MB, free: 4.246 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003124/0.007648, allocations: 358.9 kB / 376.3 MB, free: 3.895 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002378/0.007886, allocations: 251.3 kB / 376.5 MB, free: 3.648 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.565e-05/0.007922, allocations: 32 kB / 376.5 MB, free: 3.617 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001879/0.00811, allocations: 131.7 kB / 376.7 MB, free: 3.488 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001252/0.008235, allocations: 195.5 kB / 376.8 MB, free: 3.297 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000114/0.008349, allocations: 155.6 kB / 377 MB, free: 3.145 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003917/0.00874, allocations: 0.5334 MB / 377.5 MB, free: 2.609 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.008742, allocations: 4 kB / 377.5 MB, free: 2.605 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.32e-07/0.008743, allocations: 0 / 377.5 MB, free: 2.605 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5e-06/0.008748, allocations: 0 / 377.5 MB, free: 2.605 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.0006874/0.009436, allocations: 0.6388 MB / 378.2 MB, free: 1.938 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.009468, allocations: 15.98 kB / 378.2 MB, free: 1.922 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.585e-05/0.009524, allocations: 78.7 kB / 378.3 MB, free: 1.836 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000406/0.00993, allocations: 132.5 kB / 378.4 MB, free: 1.707 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003926/0.01032, allocations: 375.8 kB / 378.8 MB, free: 1.32 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.017e-05/0.01034, allocations: 37.36 kB / 378.8 MB, free: 1.285 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.216e-05/0.01042, allocations: 40.75 kB / 378.8 MB, free: 1.246 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004488/0.01087, allocations: 480.7 kB / 379.3 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.01089, allocations: 4 kB / 379.3 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.105e-05/0.01092, allocations: 15.98 kB / 379.3 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.769e-05/0.01098, allocations: 28.98 kB / 379.4 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003549/0.01133, allocations: 343.7 kB / 379.7 MB, free: 372 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001605/0.01294, allocations: 1.483 MB / 381.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002693/0.01321, allocations: 165.1 kB / 381.3 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001093/0.01331, allocations: 101.7 kB / 381.4 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.632e-05/0.01333, allocations: 4 kB / 381.4 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/0.01335, allocations: 38.56 kB / 381.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of pre-optimization done (n=19): time 1.443e-06/0.01335, allocations: 4 kB / 381.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=20): time 0.0008795/0.01423, allocations: 0.7273 MB / 382.2 MB, free: 13.7 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.766e-05/0.01427, allocations: 81.11 kB / 382.3 MB, free: 13.61 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002078/0.01448, allocations: 308.5 kB / 382.6 MB, free: 13.29 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.0145, allocations: 33.7 kB / 382.6 MB, free: 13.25 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.0146, allocations: 252.1 kB / 382.9 MB, free: 13 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.118e-05/0.01464, allocations: 75.36 kB / 382.9 MB, free: 12.93 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.048e-05/0.0147, allocations: 65.52 kB / 383 MB, free: 12.86 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.746e-05/0.01479, allocations: 346.8 kB / 383.3 MB, free: 12.51 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001084/0.0149, allocations: 100.1 kB / 383.4 MB, free: 12.41 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001446/0.01504, allocations: 204.7 kB / 383.6 MB, free: 12.16 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002782/0.01532, allocations: 323.5 kB / 384 MB, free: 11.8 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.01532, allocations: 7.938 kB / 384 MB, free: 11.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000513/0.01584, allocations: 441.8 kB / 384.4 MB, free: 11.36 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.01585, allocations: 4 kB / 384.4 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000295/0.01615, allocations: 259.1 kB / 384.7 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002551/0.0164, allocations: 100.8 kB / 384.8 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000137/0.01654, allocations: 59.91 kB / 384.8 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001005/0.01754, allocations: 1.608 MB / 386.4 MB, free: 9.215 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.439e-05/0.01764, allocations: 15.98 kB / 386.4 MB, free: 9.199 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.392e-05/0.01765, allocations: 12 kB / 386.4 MB, free: 9.188 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 (34): * Single equations (assignments): 33 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001327/0.01778, allocations: 197.7 kB / 386.6 MB, free: 8.984 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.262e-05/0.01783, allocations: 35.81 kB / 386.7 MB, free: 8.949 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002726/0.0181, allocations: 275.5 kB / 386.9 MB, free: 8.676 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.0181, allocations: 0 / 386.9 MB, free: 8.676 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.0181, allocations: 0 / 386.9 MB, free: 8.676 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.01811, allocations: 4 kB / 386.9 MB, free: 8.672 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006538/0.01876, allocations: 0.7059 MB / 387.7 MB, free: 7.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.01876, allocations: 8.062 kB / 387.7 MB, free: 7.902 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001395/0.0189, allocations: 47.92 kB / 387.7 MB, free: 7.855 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.0189, allocations: 3.984 kB / 387.7 MB, free: 7.852 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.01892, allocations: 8 kB / 387.7 MB, free: 7.844 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.01892, allocations: 0 / 387.7 MB, free: 7.844 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.01892, allocations: 7.938 kB / 387.7 MB, free: 7.836 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005798/0.0195, allocations: 461.5 kB / 388.2 MB, free: 7.359 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.664e-05/0.01953, allocations: 23.81 kB / 388.2 MB, free: 7.336 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.558e-05/0.01955, allocations: 11.95 kB / 388.2 MB, free: 7.324 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.919e-05/0.01963, allocations: 15.97 kB / 388.2 MB, free: 7.309 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.498e-05/0.01966, allocations: 12.22 kB / 388.2 MB, free: 7.297 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.25e-05/0.01967, allocations: 15.98 kB / 388.3 MB, free: 7.281 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00013/0.0198, allocations: 215.1 kB / 388.5 MB, free: 7.074 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0198, allocations: 0 / 388.5 MB, free: 7.074 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002382/0.02004, allocations: 84 kB / 388.5 MB, free: 6.992 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.i[3]) * 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 (23): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005126/0.02055, allocations: 0.9923 MB / 389.5 MB, free: 5.965 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003982/0.02095, allocations: 367.3 kB / 389.9 MB, free: 5.598 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.02095, allocations: 0 / 389.9 MB, free: 5.598 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.692e-05/0.02105, allocations: 101 kB / 390 MB, free: 5.5 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002969/0.02134, allocations: 72.78 kB / 390.1 MB, free: 5.43 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00281/0.02415, allocations: 3.495 MB / 393.6 MB, free: 1.738 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001592/0.02431, allocations: 245 kB / 393.8 MB, free: 1.48 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000121/0.02443, allocations: 70.92 kB / 393.9 MB, free: 1.41 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001311/0.02457, allocations: 140.4 kB / 394 MB, free: 1.273 MB / 362.7 MB Notification: Performance of SimCode: time 5.41e-07/0.02457, allocations: 3.938 kB / 394 MB, free: 1.27 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02166/0.04623, allocations: 8.41 MB / 402.4 MB, free: 9.039 MB / 378.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 7.074/7.12, allocations: 6.922 kB / 402.4 MB, free: 9.035 MB / 378.7 MB " [Timeout remaining time 653] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer_OMSimulator.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer_OMSimulator.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer_OMSimulator.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer_OMSimulator_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer_OMSimulator.pipe 2>&1) [Timeout 52.5] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer_fmpy.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer_fmpy.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer_fmpy.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer_fmpy_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 PowerSystems_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.985341930994764]