Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.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.001318/0.001318, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.00153/0.00153, allocations: 214.1 kB / 23.75 MB, free: 4.668 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.459/1.459, allocations: 230.6 MB / 257.5 MB, free: 8.004 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.2006/0.2006, allocations: 38.53 MB / 352.5 MB, free: 12.53 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.Transformer,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Transformer,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Transformer",fmuType="me",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.003384/0.003384, allocations: 71.88 kB / 492.5 MB, free: 4.875 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3576/0.361, allocations: 62.46 MB / 0.542 GB, free: 448 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Transformer): time 0.008959/0.3699, allocations: 6.731 MB / 0.5486 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005773/0.3757, allocations: 2.505 MB / 0.551 GB, free: 9.133 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007804/0.3765, allocations: 35.38 kB / 0.5511 GB, free: 9.113 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001942/0.3784, allocations: 0.6222 MB / 0.5517 GB, free: 8.633 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00189/0.3803, allocations: 0.693 MB / 0.5523 GB, free: 8.094 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001416/0.3818, allocations: 462.8 kB / 0.5528 GB, free: 7.766 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002231/0.384, allocations: 1.362 MB / 0.5541 GB, free: 7.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007537/0.3847, allocations: 411.9 kB / 0.5545 GB, free: 6.742 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001189/0.3859, allocations: 0.5956 MB / 0.5551 GB, free: 6.402 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001515/0.3874, allocations: 0.8576 MB / 0.5559 GB, free: 5.91 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000135/0.3876, allocations: 77.84 kB / 0.556 GB, free: 5.906 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007765/0.3884, allocations: 316.5 kB / 0.5563 GB, free: 5.773 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006174/0.389, allocations: 0.5243 MB / 0.5568 GB, free: 5.32 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006174/0.3896, allocations: 0.5324 MB / 0.5573 GB, free: 4.785 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001676/0.3913, allocations: 1.346 MB / 0.5586 GB, free: 3.434 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.3913, allocations: 0 / 0.5586 GB, free: 3.434 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3913, allocations: 0 / 0.5586 GB, free: 3.434 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.576e-05/0.3913, allocations: 0 / 0.5586 GB, free: 3.434 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: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 0.002551/0.3938, allocations: 1.287 MB / 0.5599 GB, free: 2.105 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.3939, allocations: 15.98 kB / 0.5599 GB, free: 2.09 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001862/0.3941, allocations: 144.3 kB / 0.5601 GB, free: 1.941 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001314/0.3954, allocations: 279.9 kB / 0.5603 GB, free: 1.668 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001404/0.3968, allocations: 0.6302 MB / 0.5609 GB, free: 1.008 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.604e-05/0.3969, allocations: 66.36 kB / 0.561 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002416/0.3971, allocations: 95.88 kB / 0.5611 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002121/0.3992, allocations: 1.392 MB / 0.5624 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.363e-05/0.3993, allocations: 7.938 kB / 0.5625 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.525e-05/0.3994, allocations: 31.98 kB / 0.5625 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002826/0.3996, allocations: 125.9 kB / 0.5626 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001807/0.4014, allocations: 1.097 MB / 0.5637 GB, free: 14.09 MB / 414.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007539/0.409, allocations: 5.864 MB / 0.5694 GB, free: 7.93 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001064/0.41, allocations: 0.5906 MB / 0.57 GB, free: 7.32 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004622/0.4105, allocations: 287.1 kB / 0.5703 GB, free: 7.035 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.12e-05/0.4106, allocations: 12.48 kB / 0.5703 GB, free: 7.023 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006778/0.4112, allocations: 472.8 kB / 0.5707 GB, free: 6.535 MB / 414.1 MB Notification: Performance of pre-optimization done (n=65): time 2.334e-06/0.4112, allocations: 4 kB / 0.5707 GB, free: 6.531 MB / 414.1 MB Notification: Performance of matching and sorting (n=66): time 0.003538/0.4148, allocations: 2.103 MB / 0.5728 GB, free: 4.379 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001278/0.4149, allocations: 170.9 kB / 0.5729 GB, free: 4.176 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007845/0.4157, allocations: 0.6406 MB / 0.5736 GB, free: 3.531 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.691e-05/0.4157, allocations: 41.64 kB / 0.5736 GB, free: 3.484 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004445/0.4162, allocations: 0.5424 MB / 0.5741 GB, free: 2.934 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002161/0.4164, allocations: 246.1 kB / 0.5744 GB, free: 2.691 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000291/0.4167, allocations: 210.8 kB / 0.5746 GB, free: 2.48 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002215/0.4169, allocations: 390.7 kB / 0.5749 GB, free: 2.09 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005473/0.4175, allocations: 342.4 kB / 0.5753 GB, free: 1.754 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009094/0.4184, allocations: 0.7702 MB / 0.576 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00165/0.42, allocations: 1.242 MB / 0.5772 GB, free: 15.32 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.345e-06/0.42, allocations: 4 kB / 0.5772 GB, free: 15.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002619/0.4227, allocations: 1.437 MB / 0.5786 GB, free: 13.86 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.208e-05/0.4227, allocations: 45.64 kB / 0.5787 GB, free: 13.81 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001513/0.4242, allocations: 0.7761 MB / 0.5794 GB, free: 13.03 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007594/0.425, allocations: 257.5 kB / 0.5797 GB, free: 12.77 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007346/0.4257, allocations: 211.6 kB / 0.5799 GB, free: 12.56 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005023/0.4307, allocations: 4.175 MB / 0.584 GB, free: 8.16 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006283/0.4314, allocations: 55.91 kB / 0.584 GB, free: 8.105 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.915e-05/0.4315, allocations: 59.98 kB / 0.5841 GB, free: 8.047 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,tapChanger.cnt_2,$PRE.tapChanger.cnt_2,tapChanger.cnt_1,$PRE.tapChanger.cnt_1,$whenCondition2,$whenCondition1,tapChanger.tap_2,$PRE.tapChanger.tap_2,tapChanger.tap_1,$PRE.tapChanger.tap_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 1 * 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 {(2,12,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005922/0.4321, allocations: 399 kB / 0.5845 GB, free: 7.641 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001171/0.4322, allocations: 87.55 kB / 0.5845 GB, free: 7.555 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001566/0.4337, allocations: 0.8539 MB / 0.5854 GB, free: 6.68 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.894e-06/0.4337, allocations: 8 kB / 0.5854 GB, free: 6.672 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.903e-06/0.4337, allocations: 0 / 0.5854 GB, free: 6.672 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.4338, allocations: 3.984 kB / 0.5854 GB, free: 6.668 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002975/0.4367, allocations: 1.744 MB / 0.5871 GB, free: 4.848 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.4367, allocations: 0 / 0.5871 GB, free: 4.848 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007431/0.4375, allocations: 155.8 kB / 0.5872 GB, free: 4.695 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.923e-06/0.4375, allocations: 4 kB / 0.5872 GB, free: 4.691 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.739e-05/0.4375, allocations: 16 kB / 0.5873 GB, free: 4.676 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.155e-06/0.4375, allocations: 12.14 kB / 0.5873 GB, free: 4.664 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.4375, allocations: 0 / 0.5873 GB, free: 4.664 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001952/0.4395, allocations: 1.315 MB / 0.5886 GB, free: 3.309 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003465/0.4398, allocations: 127.5 kB / 0.5887 GB, free: 3.184 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.565e-05/0.4399, allocations: 16 kB / 0.5887 GB, free: 3.168 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000355/0.4403, allocations: 27.97 kB / 0.5887 GB, free: 3.141 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/0.4404, allocations: 44.36 kB / 0.5888 GB, free: 3.098 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.176e-05/0.4405, allocations: 47.95 kB / 0.5888 GB, free: 3.051 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005267/0.441, allocations: 423 kB / 0.5892 GB, free: 2.641 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.441, allocations: 4 kB / 0.5892 GB, free: 2.637 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00088/0.4419, allocations: 232 kB / 0.5894 GB, free: 2.41 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (trafo.i1[1],trafo.i1[2],trafo.i1[3]) * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,tapChanger.tap_1,tapChanger.tap_2,tapChanger.cnt_1,tapChanger.cnt_2,system.initime) * Number of discrete states: 6 (tapChanger.tap_2,tapChanger.cnt_2,$whenCondition2,tapChanger.tap_1,tapChanger.cnt_1,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * 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.002293/0.4442, allocations: 1.879 MB / 0.5913 GB, free: 488 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002199/0.4464, allocations: 1.207 MB / 0.5924 GB, free: 15.24 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.4464, allocations: 0 / 0.5924 GB, free: 15.24 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006133/0.447, allocations: 410.1 kB / 0.5928 GB, free: 14.82 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008002/0.4478, allocations: 146.7 kB / 0.593 GB, free: 14.68 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01209/0.4599, allocations: 8.087 MB / 0.6009 GB, free: 6.043 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009512/0.4608, allocations: 1.118 MB / 0.602 GB, free: 4.898 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007137/0.4616, allocations: 294.4 kB / 0.6022 GB, free: 4.605 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004791/0.462, allocations: 335.3 kB / 0.6026 GB, free: 4.277 MB / 446.1 MB Notification: Performance of SimCode: time 6.51e-07/0.462, allocations: 0 / 0.6026 GB, free: 4.277 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08061/0.5427, allocations: 17.07 MB / 0.6192 GB, free: 3.367 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.84/13.38, allocations: 10.66 kB / 0.6192 GB, free: 3.363 MB / 462.1 MB " [Timeout remaining time 646] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Transformer_fmu --startTime=0 --stopTime=3 --stepSize=0.0012 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Transformer.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.215289207873866] Failed to read output from testmodel.py, exit status != 0: 13.505753632169217 13.529484812 13.132620667 Calling exit ...