Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.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.00213/0.00213, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.002309/0.002309, allocations: 212.2 kB / 24.52 MB, free: 4.074 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.543/1.543, allocations: 230.6 MB / 258.3 MB, free: 8 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.1938/0.1938, allocations: 38.53 MB / 353.2 MB, free: 12.48 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_matrixEqCirc3,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc3",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.002323/0.002323, allocations: 63.89 kB / 493.3 MB, free: 4.828 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3741/0.3764, allocations: 62.48 MB / 0.5428 GB, free: 388 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3): time 0.003349/0.3798, allocations: 2.151 MB / 0.5449 GB, free: 14.68 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009888/0.3808, allocations: 0.5585 MB / 0.5454 GB, free: 14.25 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.029e-05/0.3808, allocations: 4 kB / 0.5454 GB, free: 14.24 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001401/0.381, allocations: 14.97 kB / 0.5454 GB, free: 14.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.756e-05/0.381, allocations: 25.38 kB / 0.5455 GB, free: 14.21 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003582/0.3814, allocations: 73.38 kB / 0.5455 GB, free: 14.16 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001313/0.3815, allocations: 69.67 kB / 0.5456 GB, free: 14.12 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.17e-05/0.3816, allocations: 1.5 kB / 0.5456 GB, free: 14.12 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001392/0.3817, allocations: 40.27 kB / 0.5456 GB, free: 14.1 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.54e-05/0.3818, allocations: 25.12 kB / 0.5457 GB, free: 14.09 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.288e-05/0.3818, allocations: 1.531 kB / 0.5457 GB, free: 14.09 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002595/0.382, allocations: 128.5 kB / 0.5458 GB, free: 13.99 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.167e-05/0.3821, allocations: 41.31 kB / 0.5458 GB, free: 13.97 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.189e-05/0.3822, allocations: 42.34 kB / 0.5459 GB, free: 13.94 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002396/0.3824, allocations: 165.1 kB / 0.546 GB, free: 13.85 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.3824, allocations: 1.125 kB / 0.546 GB, free: 13.85 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3824, allocations: 0 / 0.546 GB, free: 13.85 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.962e-06/0.3824, allocations: 3.938 kB / 0.546 GB, free: 13.84 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0004791/0.3829, allocations: 407.6 kB / 0.5464 GB, free: 13.47 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.3829, allocations: 13.58 kB / 0.5464 GB, free: 13.46 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.755e-05/0.3829, allocations: 5.562 kB / 0.5464 GB, free: 13.46 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.173e-05/0.383, allocations: 53.55 kB / 0.5465 GB, free: 13.41 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.667e-05/0.383, allocations: 18.3 kB / 0.5465 GB, free: 13.39 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001741/0.3832, allocations: 141.4 kB / 0.5466 GB, free: 13.24 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.135e-06/0.3832, allocations: 0 / 0.5466 GB, free: 13.24 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.285e-06/0.3832, allocations: 1.375 kB / 0.5466 GB, free: 13.24 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001764/0.3834, allocations: 127.6 kB / 0.5468 GB, free: 13.18 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.3834, allocations: 4 kB / 0.5468 GB, free: 13.17 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.103e-06/0.3834, allocations: 0 / 0.5468 GB, free: 13.17 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.437e-06/0.3834, allocations: 1.594 kB / 0.5468 GB, free: 13.17 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001218/0.3835, allocations: 92.55 kB / 0.5469 GB, free: 13.14 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002007/0.3837, allocations: 174.6 kB / 0.547 GB, free: 12.95 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001872/0.3839, allocations: 112.3 kB / 0.5471 GB, free: 12.89 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001009/0.384, allocations: 97.22 kB / 0.5472 GB, free: 12.85 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.134e-06/0.384, allocations: 1.375 kB / 0.5472 GB, free: 12.85 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.3841, allocations: 30.56 kB / 0.5473 GB, free: 12.81 MB / 398.1 MB Notification: Performance of pre-optimization done (n=40): time 1.232e-06/0.3841, allocations: 5.188 kB / 0.5473 GB, free: 12.81 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.0006111/0.3847, allocations: 481.2 kB / 0.5477 GB, free: 12.62 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.886e-05/0.3847, allocations: 107.8 kB / 0.5478 GB, free: 12.52 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001489/0.3849, allocations: 148.7 kB / 0.548 GB, free: 12.39 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.3849, allocations: 30.7 kB / 0.548 GB, free: 12.36 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.395e-05/0.385, allocations: 96.23 kB / 0.5481 GB, free: 12.26 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001731/0.3852, allocations: 145.9 kB / 0.5482 GB, free: 12.13 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.063e-05/0.3852, allocations: 35.64 kB / 0.5483 GB, free: 12.1 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.3854, allocations: 337.2 kB / 0.5486 GB, free: 11.77 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.735e-05/0.3855, allocations: 92.81 kB / 0.5487 GB, free: 11.74 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.534e-05/0.3856, allocations: 97.14 kB / 0.5488 GB, free: 11.7 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003292/0.3859, allocations: 362.9 kB / 0.5491 GB, free: 11.54 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3859, allocations: 0 / 0.5491 GB, free: 11.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003435/0.3862, allocations: 318.7 kB / 0.5494 GB, free: 11.4 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.926e-05/0.3863, allocations: 90.91 kB / 0.5495 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.838e-06/0.3863, allocations: 1.062 kB / 0.5495 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.3863, allocations: 0 / 0.5495 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.31e-07/0.3863, allocations: 1.375 kB / 0.5495 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.3863, allocations: 4 kB / 0.5495 GB, free: 11.33 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.065e-05/0.3864, allocations: 19.53 kB / 0.5495 GB, free: 11.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.281e-05/0.3864, allocations: 14.89 kB / 0.5495 GB, free: 11.31 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.0002112/0.3866, allocations: 225.9 kB / 0.5498 GB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.404e-05/0.3867, allocations: 24.73 kB / 0.5498 GB, free: 11.12 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.008e-05/0.3867, allocations: 16.77 kB / 0.5498 GB, free: 11.11 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.3867, allocations: 0 / 0.5498 GB, free: 11.11 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.3867, allocations: 1.281 kB / 0.5498 GB, free: 11.11 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.3867, allocations: 4 kB / 0.5498 GB, free: 11.11 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002344/0.3869, allocations: 198.6 kB / 0.55 GB, free: 10.9 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.3869, allocations: 0 / 0.55 GB, free: 10.9 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.31e-07/0.3869, allocations: 0 / 0.55 GB, free: 10.9 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.3869, allocations: 1.25 kB / 0.55 GB, free: 10.9 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.669e-05/0.3869, allocations: 5.75 kB / 0.55 GB, free: 10.9 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3869, allocations: 1.375 kB / 0.55 GB, free: 10.9 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.387, allocations: 0 / 0.55 GB, free: 10.9 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001023/0.388, allocations: 0.9115 MB / 0.5509 GB, free: 10.51 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.089e-05/0.388, allocations: 29.67 kB / 0.5509 GB, free: 10.49 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.274e-05/0.388, allocations: 9.922 kB / 0.5509 GB, free: 10.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.886e-05/0.3881, allocations: 10.44 kB / 0.5509 GB, free: 10.48 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.829e-05/0.3881, allocations: 6.031 kB / 0.5509 GB, free: 10.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.686e-05/0.3881, allocations: 7.375 kB / 0.551 GB, free: 10.48 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.984e-05/0.3882, allocations: 122.2 kB / 0.5511 GB, free: 10.38 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3882, allocations: 0 / 0.5511 GB, free: 10.38 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002874/0.3885, allocations: 65.42 kB / 0.5511 GB, free: 10.37 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.001477/0.39, allocations: 1.458 MB / 0.5526 GB, free: 9.457 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009043/0.3909, allocations: 0.821 MB / 0.5534 GB, free: 9.141 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3909, allocations: 0 / 0.5534 GB, free: 9.141 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006682/0.3915, allocations: 0.5981 MB / 0.5539 GB, free: 8.629 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002772/0.3918, allocations: 38.91 kB / 0.554 GB, free: 8.594 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00412/0.3959, allocations: 3.457 MB / 0.5574 GB, free: 5.047 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004679/0.3964, allocations: 0.7516 MB / 0.5581 GB, free: 4.266 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.362e-05/0.3964, allocations: 0 / 0.5581 GB, free: 4.266 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.584e-05/0.3965, allocations: 39.42 kB / 0.5581 GB, free: 4.227 MB / 398.1 MB Notification: Performance of SimCode: time 1.002e-06/0.3965, allocations: 0 / 0.5581 GB, free: 4.227 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0289/0.4254, allocations: 5.237 MB / 0.5632 GB, free: 15.14 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.85, allocations: 14.48 kB / 0.5633 GB, free: 15.12 MB / 414.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc3_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc3.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.872455923992675] Failed to read output from testmodel.py, exit status != 0: 12.011777740030084 12.038661569 11.65097377 Calling exit ...