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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009658/0.0009657, allocations: 90.22 kB / 16.31 MB, free: 6.461 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 184.7 kB / 17.21 MB, free: 6.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.759/1.759, allocations: 205.4 MB / 223.4 MB, free: 5.789 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.3301/0.3301, allocations: 38.06 MB / 309.7 MB, free: 8.84 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004795/0.0004796, allocations: 12 kB / 376.6 MB, free: 15.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1215, allocations: 56.33 MB / 433 MB, free: 6.75 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Transformer): time 0.006877/0.1284, allocations: 6.735 MB / 439.7 MB, free: 15.99 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004952/0.1334, allocations: 2.655 MB / 442.3 MB, free: 13.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005396/0.134, allocations: 43.69 kB / 442.4 MB, free: 13.28 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005429/0.1345, allocations: 194.6 kB / 442.6 MB, free: 13.09 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001514/0.1361, allocations: 0.6769 MB / 443.2 MB, free: 12.41 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001064/0.1371, allocations: 415.3 kB / 443.7 MB, free: 12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001765/0.1389, allocations: 1.739 MB / 445.4 MB, free: 10.26 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001148/0.1401, allocations: 0.7101 MB / 446.1 MB, free: 9.508 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006675/0.1408, allocations: 497.9 kB / 446.6 MB, free: 9.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001062/0.1418, allocations: 0.7946 MB / 447.4 MB, free: 8.223 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.387e-05/0.1419, allocations: 36 kB / 447.4 MB, free: 8.188 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00043/0.1424, allocations: 179.7 kB / 447.6 MB, free: 8.012 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004418/0.1428, allocations: 0.4949 MB / 448.1 MB, free: 7.516 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000209/0.143, allocations: 209.1 kB / 448.3 MB, free: 7.305 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009093/0.144, allocations: 0.9781 MB / 449.3 MB, free: 6.324 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.144, allocations: 0 / 449.3 MB, free: 6.324 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.144, allocations: 0 / 449.3 MB, free: 6.324 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.376e-05/0.144, allocations: 4 kB / 449.3 MB, free: 6.32 MB / 382.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.001831/0.1458, allocations: 1.143 MB / 450.4 MB, free: 5.121 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.1459, allocations: 11.97 kB / 450.4 MB, free: 5.109 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001655/0.1461, allocations: 152 kB / 450.6 MB, free: 4.953 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008678/0.1469, allocations: 206.4 kB / 450.8 MB, free: 4.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009784/0.1479, allocations: 0.6541 MB / 451.4 MB, free: 4.055 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.122e-05/0.148, allocations: 61.98 kB / 451.5 MB, free: 3.996 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001814/0.1482, allocations: 91.97 kB / 451.6 MB, free: 3.906 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001803/0.15, allocations: 1.38 MB / 453 MB, free: 2.422 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.068e-05/0.15, allocations: 7.938 kB / 453 MB, free: 2.414 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.953e-05/0.1501, allocations: 35.98 kB / 453 MB, free: 2.379 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002299/0.1504, allocations: 121.9 kB / 453.1 MB, free: 2.262 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001588/0.152, allocations: 1.093 MB / 454.2 MB, free: 1.168 MB / 382.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.2425/0.3944, allocations: 5.958 MB / 460.2 MB, free: 47.26 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008742/0.3953, allocations: 0.6982 MB / 460.9 MB, free: 47.12 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004099/0.3958, allocations: 314.2 kB / 461.2 MB, free: 47.1 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.061e-05/0.3958, allocations: 7.844 kB / 461.2 MB, free: 47.1 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005471/0.3964, allocations: 482 kB / 461.7 MB, free: 46.97 MB / 382.1 MB Notification: Performance of pre-optimization done (n=65): time 2.475e-06/0.3964, allocations: 3.219 kB / 461.7 MB, free: 46.97 MB / 382.1 MB Notification: Performance of matching and sorting (n=66): time 0.003503/0.3999, allocations: 2.137 MB / 463.8 MB, free: 46.34 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.214e-05/0.4, allocations: 171.1 kB / 464 MB, free: 46.15 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006761/0.4007, allocations: 0.631 MB / 464.6 MB, free: 46.02 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.307e-05/0.4007, allocations: 42.08 kB / 464.6 MB, free: 45.98 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004272/0.4012, allocations: 0.5275 MB / 465.2 MB, free: 45.67 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002207/0.4014, allocations: 229.2 kB / 465.4 MB, free: 45.54 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.156e-05/0.4015, allocations: 24.19 kB / 465.4 MB, free: 45.54 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.4016, allocations: 392.6 kB / 465.8 MB, free: 45.22 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005182/0.4022, allocations: 335.4 kB / 466.1 MB, free: 45.22 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006511/0.4028, allocations: 0.7661 MB / 466.9 MB, free: 44.69 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005719/0.4034, allocations: 0.4994 MB / 467.4 MB, free: 44.64 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.593e-06/0.4034, allocations: 6.406 kB / 467.4 MB, free: 44.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002045/0.4055, allocations: 1.425 MB / 468.8 MB, free: 44.11 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.362e-05/0.4055, allocations: 42.98 kB / 468.9 MB, free: 44.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001142/0.4067, allocations: 0.7815 MB / 469.6 MB, free: 43.81 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006165/0.4073, allocations: 260.2 kB / 469.9 MB, free: 43.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006097/0.4079, allocations: 215.1 kB / 470.1 MB, free: 43.72 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003172/0.4111, allocations: 4.036 MB / 474.1 MB, free: 40.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005782/0.4117, allocations: 59.95 kB / 474.2 MB, free: 40.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.778e-05/0.4118, allocations: 68.75 kB / 474.3 MB, free: 40.57 MB / 382.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,$whenCondition1,$whenCondition2,$PRE.tapChanger.cnt_1,tapChanger.cnt_1,$PRE.tapChanger.cnt_2,tapChanger.cnt_2,$PRE.tapChanger.tap_1,tapChanger.tap_1,$PRE.tapChanger.tap_2,tapChanger.tap_2) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 12,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004669/0.4123, allocations: 396.6 kB / 474.7 MB, free: 40.32 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.178e-05/0.4124, allocations: 70.94 kB / 474.7 MB, free: 40.28 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001103/0.4135, allocations: 0.8513 MB / 475.6 MB, free: 39.92 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.4135, allocations: 6.594 kB / 475.6 MB, free: 39.92 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-06/0.4135, allocations: 0 / 475.6 MB, free: 39.92 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.4135, allocations: 7.562 kB / 475.6 MB, free: 39.91 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002102/0.4156, allocations: 1.762 MB / 477.4 MB, free: 39.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.4156, allocations: 160 / 477.4 MB, free: 39.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005885/0.4162, allocations: 152.8 kB / 477.5 MB, free: 39.08 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.614e-06/0.4163, allocations: 6.531 kB / 477.5 MB, free: 39.08 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.311e-05/0.4163, allocations: 18.31 kB / 477.5 MB, free: 39.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.6e-06/0.4163, allocations: 3.656 kB / 477.5 MB, free: 39.07 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.4163, allocations: 2.719 kB / 477.5 MB, free: 39.07 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001409/0.4177, allocations: 1.304 MB / 478.8 MB, free: 38.45 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002226/0.418, allocations: 205.4 kB / 479 MB, free: 38.29 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.488e-05/0.4181, allocations: 17.19 kB / 479.1 MB, free: 38.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003145/0.4184, allocations: 37.22 kB / 479.1 MB, free: 38.27 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.164e-05/0.4185, allocations: 43.67 kB / 479.1 MB, free: 38.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.518e-05/0.4186, allocations: 43.53 kB / 479.2 MB, free: 38.26 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004177/0.419, allocations: 420.6 kB / 479.6 MB, free: 38.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.419, allocations: 0 / 479.6 MB, free: 38.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008764/0.4199, allocations: 226.1 kB / 479.8 MB, free: 38.06 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001603/0.4215, allocations: 1.869 MB / 481.7 MB, free: 36.9 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001531/0.423, allocations: 1.217 MB / 482.9 MB, free: 36.31 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.4231, allocations: 3.312 kB / 482.9 MB, free: 36.31 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004604/0.4235, allocations: 465.1 kB / 483.4 MB, free: 36.11 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000676/0.4242, allocations: 142.5 kB / 483.5 MB, free: 36.06 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006826/0.431, allocations: 5.756 MB / 489.3 MB, free: 32.96 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006339/0.4317, allocations: 1.117 MB / 490.4 MB, free: 32.21 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007544/0.4325, allocations: 286 kB / 490.6 MB, free: 32.17 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003873/0.4329, allocations: 331.2 kB / 491 MB, free: 31.92 MB / 382.1 MB Notification: Performance of SimCode: time 1.041e-06/0.4329, allocations: 5.812 kB / 491 MB, free: 31.92 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04192/0.4748, allocations: 15.23 MB / 0.4943 GB, free: 29.94 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001356/0.475, allocations: 208.6 kB / 0.4945 GB, free: 29.7 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.092/2.566, allocations: 0 / 0.4945 GB, free: 29.7 MB / 382.1 MB (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/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Transformer_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Transformer.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe 2>&1) Environment - environmentSimulation: