Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.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.001307/0.001307, allocations: 112.5 kB / 21.22 MB, free: 0.75 MB / 14.72 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.001598/0.001598, allocations: 205.2 kB / 24.52 MB, free: 4.156 MB / 14.72 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 1.512/1.512, allocations: 230.6 MB / 258.3 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] 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.1827/0.1827, allocations: 38.52 MB / 353.2 MB, free: 12.52 MB / 286.1 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.Precalculation.Z_matrixEqCirc2,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002101/0.002101, allocations: 66.86 kB / 493.3 MB, free: 4.852 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3864/0.3885, allocations: 62.47 MB / 0.5428 GB, free: 416 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2): time 0.003798/0.3923, allocations: 2.157 MB / 0.5449 GB, free: 14.7 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009375/0.3932, allocations: 0.5618 MB / 0.5454 GB, free: 14.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.211e-05/0.3933, allocations: 5.438 kB / 0.5454 GB, free: 14.26 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001603/0.3935, allocations: 9.484 kB / 0.5454 GB, free: 14.25 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.891e-05/0.3935, allocations: 26.59 kB / 0.5455 GB, free: 14.23 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004111/0.394, allocations: 73.41 kB / 0.5455 GB, free: 14.18 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001496/0.3941, allocations: 68.64 kB / 0.5456 GB, free: 14.14 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.383e-05/0.3942, allocations: 10.25 kB / 0.5456 GB, free: 14.14 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000136/0.3943, allocations: 36.12 kB / 0.5456 GB, free: 14.12 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.79e-05/0.3943, allocations: 21.05 kB / 0.5457 GB, free: 14.11 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.085e-05/0.3944, allocations: 1.25 kB / 0.5457 GB, free: 14.11 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00025/0.3946, allocations: 132.2 kB / 0.5458 GB, free: 14.01 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.052e-05/0.3947, allocations: 39.02 kB / 0.5458 GB, free: 13.99 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.119e-05/0.3947, allocations: 23.56 kB / 0.5459 GB, free: 13.97 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002266/0.3949, allocations: 134.5 kB / 0.546 GB, free: 13.9 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.3949, allocations: 1.156 kB / 0.546 GB, free: 13.9 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3949, allocations: 0 / 0.546 GB, free: 13.9 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.321e-06/0.395, allocations: 0 / 0.546 GB, free: 13.9 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0004614/0.3954, allocations: 361.7 kB / 0.5463 GB, free: 13.55 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.3955, allocations: 13.77 kB / 0.5463 GB, free: 13.55 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.539e-05/0.3955, allocations: 5.812 kB / 0.5463 GB, free: 13.54 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.958e-05/0.3955, allocations: 46.8 kB / 0.5464 GB, free: 13.49 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.933e-05/0.3956, allocations: 11.56 kB / 0.5464 GB, free: 13.48 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001763/0.3957, allocations: 131.6 kB / 0.5465 GB, free: 13.34 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-06/0.3957, allocations: 6.219 kB / 0.5465 GB, free: 13.34 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.007e-05/0.3957, allocations: 0 / 0.5465 GB, free: 13.34 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001589/0.3959, allocations: 96.12 kB / 0.5466 GB, free: 13.28 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.3959, allocations: 4 kB / 0.5466 GB, free: 13.27 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.845e-06/0.3959, allocations: 0 / 0.5466 GB, free: 13.27 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-06/0.3959, allocations: 0 / 0.5466 GB, free: 13.27 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.491e-05/0.396, allocations: 60.14 kB / 0.5467 GB, free: 13.25 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001717/0.3962, allocations: 149.6 kB / 0.5468 GB, free: 13.08 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001063/0.3963, allocations: 82.58 kB / 0.5469 GB, free: 13.03 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.234e-05/0.3964, allocations: 62.84 kB / 0.547 GB, free: 13 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.634e-06/0.3964, allocations: 0 / 0.547 GB, free: 13 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/0.3964, allocations: 35.88 kB / 0.547 GB, free: 12.96 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 9.62e-07/0.3964, allocations: 4 kB / 0.547 GB, free: 12.96 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.0004822/0.3969, allocations: 307 kB / 0.5473 GB, free: 12.82 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.58e-05/0.3969, allocations: 94.84 kB / 0.5474 GB, free: 12.72 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001559/0.3971, allocations: 133.3 kB / 0.5475 GB, free: 12.61 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.3971, allocations: 25.7 kB / 0.5475 GB, free: 12.58 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.98e-05/0.3972, allocations: 96.34 kB / 0.5476 GB, free: 12.48 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001021/0.3973, allocations: 76.45 kB / 0.5477 GB, free: 12.42 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.773e-05/0.3973, allocations: 27.45 kB / 0.5477 GB, free: 12.39 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.3975, allocations: 331.2 kB / 0.5481 GB, free: 12.07 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.117e-05/0.3976, allocations: 58.5 kB / 0.5481 GB, free: 12.05 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.221e-05/0.3976, allocations: 55.45 kB / 0.5482 GB, free: 12.03 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002499/0.3979, allocations: 255.4 kB / 0.5484 GB, free: 11.9 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3979, allocations: 1.406 kB / 0.5484 GB, free: 11.9 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.00024/0.3981, allocations: 224.5 kB / 0.5486 GB, free: 11.79 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.611e-05/0.3982, allocations: 63.84 kB / 0.5487 GB, free: 11.74 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.3982, allocations: 1.125 kB / 0.5487 GB, free: 11.74 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.3982, allocations: 0 / 0.5487 GB, free: 11.74 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.202e-06/0.3982, allocations: 3.938 kB / 0.5487 GB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.3982, allocations: 5.219 kB / 0.5487 GB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.028e-05/0.3983, allocations: 12.64 kB / 0.5487 GB, free: 11.72 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.428e-05/0.3983, allocations: 5.094 kB / 0.5487 GB, free: 11.72 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001763/0.3985, allocations: 198.3 kB / 0.5489 GB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.876e-05/0.3985, allocations: 19.7 kB / 0.5489 GB, free: 11.54 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.971e-05/0.3985, allocations: 7.562 kB / 0.5489 GB, free: 11.53 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.3985, allocations: 0.9688 kB / 0.5489 GB, free: 11.53 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.3985, allocations: 0 / 0.5489 GB, free: 11.53 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.3985, allocations: 0 / 0.5489 GB, free: 11.53 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001598/0.3987, allocations: 180.8 kB / 0.5491 GB, free: 11.33 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.3987, allocations: 0 / 0.5491 GB, free: 11.33 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.092e-06/0.3987, allocations: 5.594 kB / 0.5491 GB, free: 11.33 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.3987, allocations: 0 / 0.5491 GB, free: 11.33 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.3987, allocations: 3.625 kB / 0.5491 GB, free: 11.33 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.3987, allocations: 5.219 kB / 0.5491 GB, free: 11.32 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3987, allocations: 0 / 0.5491 GB, free: 11.32 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000591/0.3993, allocations: 0.5049 MB / 0.5496 GB, free: 11.08 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.122e-05/0.3993, allocations: 20.16 kB / 0.5496 GB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.699e-05/0.3993, allocations: 7.562 kB / 0.5496 GB, free: 11.06 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.791e-05/0.3994, allocations: 7.469 kB / 0.5496 GB, free: 11.06 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.395e-05/0.3994, allocations: 3.25 kB / 0.5496 GB, free: 11.06 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.187e-05/0.3994, allocations: 4.469 kB / 0.5496 GB, free: 11.06 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.135e-05/0.3995, allocations: 108.4 kB / 0.5497 GB, free: 10.97 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3995, allocations: 0 / 0.5497 GB, free: 10.97 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002609/0.3998, allocations: 44.91 kB / 0.5498 GB, free: 10.96 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0009803/0.4007, allocations: 1.052 MB / 0.5508 GB, free: 10.19 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006075/0.4013, allocations: 457.7 kB / 0.5513 GB, free: 10 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4013, allocations: 0 / 0.5513 GB, free: 10 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00032/0.4017, allocations: 313.3 kB / 0.5516 GB, free: 9.859 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002445/0.4019, allocations: 18.03 kB / 0.5516 GB, free: 9.855 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002773/0.4047, allocations: 2.488 MB / 0.554 GB, free: 8.176 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003711/0.4051, allocations: 0.7227 MB / 0.5547 GB, free: 7.457 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.656e-05/0.4051, allocations: 5.016 kB / 0.5547 GB, free: 7.453 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.405e-05/0.4051, allocations: 28.53 kB / 0.5547 GB, free: 7.426 MB / 398.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4051, allocations: 0 / 0.5547 GB, free: 7.426 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02497/0.4301, allocations: 3.863 MB / 0.5585 GB, free: 4.023 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.75, allocations: 8.047 kB / 0.5585 GB, free: 4.016 MB / 398.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc2_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc2.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.66257308301283] Failed to read output from testmodel.py, exit status != 0: 11.911400698998477 11.92700047 11.528915215 Calling exit ...