Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.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.001458/0.001458, allocations: 112.2 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.001754/0.001754, allocations: 206.1 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.461/1.461, allocations: 230.6 MB / 258.3 MB, free: 8.02 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.1892/0.1892, allocations: 38.53 MB / 353.2 MB, free: 12.54 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.Elementary.Source,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Source",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Source,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Source",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.002007/0.002007, allocations: 62.88 kB / 493.3 MB, free: 4.887 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3683/0.3703, allocations: 62.47 MB / 0.5428 GB, free: 460 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Source): time 0.007577/0.3779, allocations: 4.565 MB / 0.5472 GB, free: 12.86 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003108/0.381, allocations: 1.594 MB / 0.5488 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002724/0.3813, allocations: 19.5 kB / 0.5488 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009837/0.3823, allocations: 306.5 kB / 0.5491 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007453/0.383, allocations: 283.6 kB / 0.5494 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008402/0.3839, allocations: 253.8 kB / 0.5496 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008625/0.3847, allocations: 0.6083 MB / 0.5502 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003754/0.3851, allocations: 201.4 kB / 0.5504 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000468/0.3856, allocations: 280.8 kB / 0.5507 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005759/0.3862, allocations: 403.9 kB / 0.551 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.258e-05/0.3862, allocations: 38.59 kB / 0.5511 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004955/0.3867, allocations: 249.9 kB / 0.5513 GB, free: 9.98 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002657/0.387, allocations: 235.8 kB / 0.5515 GB, free: 9.832 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002985/0.3873, allocations: 250.9 kB / 0.5518 GB, free: 9.668 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001007/0.3883, allocations: 0.6824 MB / 0.5524 GB, free: 9.223 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.3883, allocations: 5.312 kB / 0.5524 GB, free: 9.219 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.3883, allocations: 0 / 0.5524 GB, free: 9.219 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.927e-06/0.3883, allocations: 3.938 kB / 0.5525 GB, free: 9.215 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001597/0.3899, allocations: 0.7082 MB / 0.5531 GB, free: 8.648 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.3899, allocations: 13.14 kB / 0.5532 GB, free: 8.645 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.106e-05/0.39, allocations: 15.25 kB / 0.5532 GB, free: 8.637 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001114/0.3901, allocations: 88.31 kB / 0.5533 GB, free: 8.559 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008121/0.3909, allocations: 128.6 kB / 0.5534 GB, free: 8.496 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007614/0.3917, allocations: 352.6 kB / 0.5537 GB, free: 8.223 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.671e-05/0.3917, allocations: 35.42 kB / 0.5537 GB, free: 8.203 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001531/0.3919, allocations: 44.55 kB / 0.5538 GB, free: 8.188 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001199/0.3931, allocations: 0.7012 MB / 0.5545 GB, free: 7.742 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.089e-05/0.3931, allocations: 1.062 kB / 0.5545 GB, free: 7.742 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.093e-05/0.3931, allocations: 12.28 kB / 0.5545 GB, free: 7.734 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002169/0.3933, allocations: 71.97 kB / 0.5546 GB, free: 7.711 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001038/0.3944, allocations: 0.6611 MB / 0.5552 GB, free: 7.41 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004023/0.3984, allocations: 2.576 MB / 0.5577 GB, free: 4.953 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005672/0.399, allocations: 297.2 kB / 0.558 GB, free: 4.645 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002998/0.3993, allocations: 197.6 kB / 0.5582 GB, free: 4.445 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.799e-05/0.3993, allocations: 15.98 kB / 0.5582 GB, free: 4.43 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.439e-05/0.3994, allocations: 34.55 kB / 0.5582 GB, free: 4.387 MB / 398.1 MB Notification: Performance of pre-optimization done (n=39): time 1.883e-06/0.3994, allocations: 0 / 0.5582 GB, free: 4.387 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.002136/0.4015, allocations: 1.229 MB / 0.5594 GB, free: 3.125 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.193e-05/0.4016, allocations: 85.17 kB / 0.5595 GB, free: 3.023 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003345/0.4019, allocations: 300.5 kB / 0.5598 GB, free: 2.723 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.365e-05/0.4019, allocations: 29.7 kB / 0.5598 GB, free: 2.688 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001895/0.4021, allocations: 252.2 kB / 0.5601 GB, free: 2.438 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001247/0.4022, allocations: 142.8 kB / 0.5602 GB, free: 2.297 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001412/0.4024, allocations: 82.08 kB / 0.5603 GB, free: 2.211 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001741/0.4026, allocations: 354.7 kB / 0.5606 GB, free: 1.855 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002873/0.4028, allocations: 184.8 kB / 0.5608 GB, free: 1.676 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004393/0.4033, allocations: 329 kB / 0.5611 GB, free: 1.293 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007434/0.404, allocations: 0.5507 MB / 0.5617 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.404, allocations: 4 kB / 0.5617 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001296/0.4053, allocations: 0.6861 MB / 0.5623 GB, free: 15.98 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.4053, allocations: 4 kB / 0.5623 GB, free: 15.97 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008643/0.4062, allocations: 491.4 kB / 0.5628 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004515/0.4067, allocations: 117.9 kB / 0.5629 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003374/0.407, allocations: 79.88 kB / 0.563 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003024/0.41, allocations: 3.063 MB / 0.566 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003048/0.4103, allocations: 27.91 kB / 0.566 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.608e-05/0.4104, allocations: 20 kB / 0.566 GB, free: 11.94 MB / 414.1 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 (45): * Single equations (assignments): 41 * Array equations: 2 * 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): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003285/0.4107, allocations: 209.7 kB / 0.5662 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000108/0.4108, allocations: 39.83 kB / 0.5663 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008007/0.4116, allocations: 472.6 kB / 0.5667 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-05/0.4116, allocations: 15.94 kB / 0.5667 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.4116, allocations: 3.938 kB / 0.5667 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.4116, allocations: 3.984 kB / 0.5667 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001584/0.4132, allocations: 0.9871 MB / 0.5677 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.4132, allocations: 0 / 0.5677 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003739/0.4136, allocations: 75.83 kB / 0.5678 GB, free: 10.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.4136, allocations: 0 / 0.5678 GB, free: 10.08 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.73e-05/0.4136, allocations: 8 kB / 0.5678 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.081e-06/0.4136, allocations: 7.938 kB / 0.5678 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.4137, allocations: 3.984 kB / 0.5678 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00103/0.4147, allocations: 0.7442 MB / 0.5685 GB, free: 9.293 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001751/0.4149, allocations: 67.66 kB / 0.5686 GB, free: 9.227 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.082e-05/0.4149, allocations: 8 kB / 0.5686 GB, free: 9.219 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002013/0.4151, allocations: 19.97 kB / 0.5686 GB, free: 9.199 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.025e-05/0.4152, allocations: 23.91 kB / 0.5686 GB, free: 9.176 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.603e-05/0.4152, allocations: 8 kB / 0.5686 GB, free: 9.168 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002197/0.4154, allocations: 207.1 kB / 0.5688 GB, free: 8.969 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4154, allocations: 4 kB / 0.5688 GB, free: 8.965 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005532/0.416, allocations: 104 kB / 0.5689 GB, free: 8.863 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.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 (30): * Single equations (assignments): 27 * Array equations: 2 * 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.001435/0.4174, allocations: 1.328 MB / 0.5702 GB, free: 7.496 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001093/0.4185, allocations: 0.6798 MB / 0.5709 GB, free: 6.793 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.4185, allocations: 8.062 kB / 0.5709 GB, free: 6.785 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003013/0.4188, allocations: 191.8 kB / 0.5711 GB, free: 6.598 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005196/0.4193, allocations: 63.42 kB / 0.5712 GB, free: 6.535 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005934/0.4252, allocations: 4.405 MB / 0.5755 GB, free: 1.914 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005456/0.4258, allocations: 0.8742 MB / 0.5763 GB, free: 1.008 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002837/0.4261, allocations: 107.2 kB / 0.5764 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002162/0.4263, allocations: 147.4 kB / 0.5766 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of SimCode: time 6.41e-07/0.4263, allocations: 0 / 0.5766 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03576/0.4621, allocations: 8.675 MB / 0.585 GB, free: 8.223 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.23/12.69, allocations: 8 kB / 0.585 GB, free: 8.215 MB / 430.1 MB " [Timeout remaining time 647] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Source_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Source.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.508725607011002] Failed to read output from testmodel.py, exit status != 0: 12.853928617027123 12.871120239 12.479220783 Calling exit ...