Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.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.0008649/0.0008649, allocations: 92.33 kB / 20.95 MB, free: 3.48 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.001038/0.001038, allocations: 165.7 kB / 24.26 MB, free: 176 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.8916/0.8916, allocations: 177.2 MB / 204.6 MB, free: 5.59 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.2167/0.2167, 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.Generation.PQsource,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_PQsource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.PQsource,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_PQsource",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 368.4 MB, free: 11.8 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.136e-05/2.308e-05, allocations: 2.312 kB / 368.4 MB, free: 11.8 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.004457/0.00448, allocations: 4.456 MB / 372.9 MB, free: 7.312 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001662/0.006143, allocations: 1.258 MB / 374.1 MB, free: 6.051 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001985/0.006341, allocations: 19.88 kB / 374.1 MB, free: 6.031 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000785/0.007126, allocations: 398.2 kB / 374.5 MB, free: 5.641 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004647/0.007591, allocations: 258.5 kB / 374.8 MB, free: 5.387 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003973/0.007988, allocations: 171.5 kB / 374.9 MB, free: 5.219 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004912/0.00848, allocations: 0.5761 MB / 375.5 MB, free: 4.641 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003451/0.008825, allocations: 221.5 kB / 375.7 MB, free: 4.426 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000451/0.009276, allocations: 350.9 kB / 376.1 MB, free: 4.082 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003384/0.009614, allocations: 267.2 kB / 376.3 MB, free: 3.82 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.626e-05/0.00965, allocations: 32 kB / 376.4 MB, free: 3.789 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002158/0.009866, allocations: 131.7 kB / 376.5 MB, free: 3.66 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001479/0.01001, allocations: 203.5 kB / 376.7 MB, free: 3.461 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001236/0.01014, allocations: 151.7 kB / 376.8 MB, free: 3.312 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005084/0.01065, allocations: 0.5179 MB / 377.4 MB, free: 2.793 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.01065, allocations: 0 / 377.4 MB, free: 2.793 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.01065, allocations: 0 / 377.4 MB, free: 2.793 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.045e-06/0.01066, allocations: 0 / 377.4 MB, free: 2.793 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.0009153/0.01157, allocations: 0.6389 MB / 378 MB, free: 2.121 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.01162, allocations: 11.98 kB / 378 MB, free: 2.109 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.373e-05/0.01168, allocations: 74.72 kB / 378.1 MB, free: 2.027 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004334/0.01212, allocations: 124.6 kB / 378.2 MB, free: 1.906 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000489/0.01261, allocations: 367.9 kB / 378.6 MB, free: 1.527 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.223e-05/0.01263, allocations: 25.38 kB / 378.6 MB, free: 1.5 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.399e-05/0.01272, allocations: 44.7 kB / 378.6 MB, free: 1.457 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007713/0.01349, allocations: 488.7 kB / 379.1 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.01351, allocations: 3.984 kB / 379.1 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.403e-05/0.01353, allocations: 12 kB / 379.1 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.834e-05/0.0136, allocations: 28.98 kB / 379.2 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003694/0.01397, allocations: 351.7 kB / 379.5 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001588/0.01556, allocations: 1.483 MB / 381 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000238/0.0158, allocations: 149.1 kB / 381.1 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001151/0.01591, allocations: 102 kB / 381.2 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.016e-05/0.01593, allocations: 4 kB / 381.2 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.624e-05/0.01597, allocations: 42.44 kB / 381.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 2.925e-06/0.01597, allocations: 4 kB / 381.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.001195/0.01717, allocations: 0.7379 MB / 382 MB, free: 13.9 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.35e-05/0.01722, allocations: 85.08 kB / 382.1 MB, free: 13.8 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002495/0.01747, allocations: 328.3 kB / 382.4 MB, free: 13.47 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.01749, allocations: 29.7 kB / 382.5 MB, free: 13.44 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001297/0.01762, allocations: 252.1 kB / 382.7 MB, free: 13.19 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.296e-05/0.01766, allocations: 67.42 kB / 382.8 MB, free: 13.12 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.856e-05/0.01773, allocations: 61.94 kB / 382.8 MB, free: 13.05 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.725e-05/0.01783, allocations: 338.8 kB / 383.2 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001085/0.01793, allocations: 104.1 kB / 383.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001503/0.01808, allocations: 197.4 kB / 383.4 MB, free: 12.37 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002934/0.01838, allocations: 331.7 kB / 383.8 MB, free: 12 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.01838, allocations: 4 kB / 383.8 MB, free: 12 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005951/0.01898, allocations: 481.9 kB / 384.2 MB, free: 11.52 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.322e-05/0.019, allocations: 16.02 kB / 384.3 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003807/0.01938, allocations: 304.8 kB / 384.6 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003429/0.01972, allocations: 132.7 kB / 384.7 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001311/0.01985, allocations: 51.92 kB / 384.7 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002265/0.02212, allocations: 2.334 MB / 387.1 MB, free: 8.574 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001392/0.02226, allocations: 23.86 kB / 387.1 MB, free: 8.551 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.564e-05/0.02227, allocations: 12.16 kB / 387.1 MB, free: 8.539 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 (29): * Single equations (assignments): 28 * 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 {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.000179/0.02245, allocations: 189.7 kB / 387.3 MB, free: 8.344 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.023e-05/0.02249, allocations: 31.81 kB / 387.3 MB, free: 8.312 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002876/0.02278, allocations: 265.3 kB / 387.6 MB, free: 8.043 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.02278, allocations: 4 kB / 387.6 MB, free: 8.039 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.02279, allocations: 3.938 kB / 387.6 MB, free: 8.035 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.02279, allocations: 0 / 387.6 MB, free: 8.035 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006964/0.02349, allocations: 0.6835 MB / 388.3 MB, free: 7.293 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.02349, allocations: 4 kB / 388.3 MB, free: 7.289 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001126/0.0236, allocations: 39.91 kB / 388.3 MB, free: 7.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.966e-05/0.02367, allocations: 36.83 kB / 388.4 MB, free: 7.211 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/0.02369, allocations: 8 kB / 388.4 MB, free: 7.203 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.02369, allocations: 4 kB / 388.4 MB, free: 7.199 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.02369, allocations: 3.984 kB / 388.4 MB, free: 7.195 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003594/0.02405, allocations: 457.5 kB / 388.8 MB, free: 6.723 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.194e-05/0.02408, allocations: 23.81 kB / 388.8 MB, free: 6.699 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.566e-05/0.02411, allocations: 15.98 kB / 388.9 MB, free: 6.684 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.433e-05/0.02418, allocations: 8 kB / 388.9 MB, free: 6.676 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.635e-05/0.02421, allocations: 11.97 kB / 388.9 MB, free: 6.664 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.679e-06/0.02422, allocations: 7.938 kB / 388.9 MB, free: 6.656 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001572/0.02438, allocations: 227 kB / 389.1 MB, free: 6.438 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.02438, allocations: 0 / 389.1 MB, free: 6.438 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003097/0.02469, allocations: 84 kB / 389.2 MB, free: 6.355 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005737/0.02526, allocations: 0.9764 MB / 390.2 MB, free: 5.344 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004837/0.02575, allocations: 400.8 kB / 390.6 MB, free: 4.945 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.02575, allocations: 8 kB / 390.6 MB, free: 4.938 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000115/0.02586, allocations: 106.1 kB / 390.7 MB, free: 4.832 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003177/0.02618, allocations: 65.11 kB / 390.7 MB, free: 4.77 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003298/0.02948, allocations: 3.504 MB / 394.2 MB, free: 1.07 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001671/0.02965, allocations: 245 kB / 394.5 MB, free: 0.8086 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000125/0.02977, allocations: 58.94 kB / 394.5 MB, free: 0.7539 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001177/0.02989, allocations: 124.5 kB / 394.7 MB, free: 0.6289 MB / 362.7 MB Notification: Performance of SimCode: time 9.61e-07/0.02989, allocations: 0 / 394.7 MB, free: 0.6289 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02614/0.05603, allocations: 8.141 MB / 402.8 MB, free: 8.613 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.222/8.278, allocations: 10.86 kB / 402.8 MB, free: 8.609 MB / 378.7 MB " [Timeout remaining time 652] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource_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_Generation_PQsource.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.109959103167057] Failed to read output from testmodel.py, exit status != 0: 8.37223212979734 8.381821548 8.369291291 Calling exit ...