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.001379/0.001379, allocations: 104.9 kB / 17.06 MB, free: 6.027 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.001042/0.001042, allocations: 195 kB / 17.99 MB, free: 5.109 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.489/1.489, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1797/0.1797, allocations: 37.99 MB / 309.2 MB, free: 5.961 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.001239/0.001239, allocations: 71.89 kB / 431.4 MB, free: 16.15 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09673/0.09798, allocations: 55.24 MB / 486.6 MB, free: 8.855 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Transformer): time 0.008934/0.1069, allocations: 6.527 MB / 493.1 MB, free: 2.293 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005419/0.1124, allocations: 2.485 MB / 495.6 MB, free: 15.8 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006837/0.1131, allocations: 23.88 kB / 495.6 MB, free: 15.77 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001769/0.1149, allocations: 0.6067 MB / 496.2 MB, free: 15.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001674/0.1166, allocations: 0.6769 MB / 496.9 MB, free: 14.48 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001115/0.1177, allocations: 443 kB / 497.4 MB, free: 14.05 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001573/0.1193, allocations: 1.372 MB / 498.7 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000671/0.12, allocations: 487.8 kB / 499.2 MB, free: 12.2 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008527/0.1209, allocations: 0.5798 MB / 499.8 MB, free: 11.62 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001168/0.1221, allocations: 0.7983 MB / 0.4889 GB, free: 10.82 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001696/0.1222, allocations: 72 kB / 0.4889 GB, free: 10.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000545/0.1228, allocations: 271.6 kB / 0.4892 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004866/0.1233, allocations: 0.5221 MB / 0.4897 GB, free: 9.957 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006219/0.1239, allocations: 0.5247 MB / 0.4902 GB, free: 9.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001384/0.1253, allocations: 1.328 MB / 0.4915 GB, free: 8.098 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.1253, allocations: 4 kB / 0.4915 GB, free: 8.094 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1253, allocations: 0 / 0.4915 GB, free: 8.094 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.834e-05/0.1254, allocations: 0 / 0.4915 GB, free: 8.094 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.002711/0.1281, allocations: 1.33 MB / 0.4928 GB, free: 6.703 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.1281, allocations: 15.89 kB / 0.4928 GB, free: 6.688 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001896/0.1283, allocations: 152.2 kB / 0.493 GB, free: 6.531 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00102/0.1294, allocations: 199.5 kB / 0.4932 GB, free: 6.336 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001355/0.1307, allocations: 0.7135 MB / 0.4938 GB, free: 5.582 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.892e-05/0.1308, allocations: 62.36 kB / 0.4939 GB, free: 5.52 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001972/0.131, allocations: 91.92 kB / 0.494 GB, free: 5.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001899/0.1329, allocations: 1.388 MB / 0.4954 GB, free: 3.941 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.318e-05/0.133, allocations: 11.88 kB / 0.4954 GB, free: 3.93 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.166e-05/0.133, allocations: 36 kB / 0.4954 GB, free: 3.895 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002605/0.1333, allocations: 113.9 kB / 0.4955 GB, free: 3.781 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001619/0.1349, allocations: 1.1 MB / 0.4966 GB, free: 2.684 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.006637/0.1416, allocations: 5.942 MB / 0.5024 GB, free: 12.43 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001031/0.1426, allocations: 0.7025 MB / 0.5031 GB, free: 11.69 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004514/0.1431, allocations: 319.2 kB / 0.5034 GB, free: 11.37 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.697e-05/0.1432, allocations: 12.53 kB / 0.5034 GB, free: 11.36 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006563/0.1438, allocations: 476.5 kB / 0.5038 GB, free: 10.86 MB / 398.1 MB Notification: Performance of pre-optimization done (n=65): time 2.695e-06/0.1439, allocations: 4 kB / 0.5038 GB, free: 10.86 MB / 398.1 MB Notification: Performance of matching and sorting (n=66): time 0.003246/0.1471, allocations: 2.148 MB / 0.5059 GB, free: 8.633 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.487e-05/0.1472, allocations: 170.8 kB / 0.5061 GB, free: 8.43 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008336/0.1481, allocations: 0.6328 MB / 0.5067 GB, free: 7.789 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.674e-05/0.1481, allocations: 41.83 kB / 0.5068 GB, free: 7.742 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004081/0.1486, allocations: 0.5327 MB / 0.5073 GB, free: 7.199 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002044/0.1488, allocations: 228.8 kB / 0.5075 GB, free: 6.973 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000288/0.1491, allocations: 206.7 kB / 0.5077 GB, free: 6.766 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001763/0.1493, allocations: 386.7 kB / 0.5081 GB, free: 6.379 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005123/0.1498, allocations: 346.4 kB / 0.5084 GB, free: 6.039 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008041/0.1506, allocations: 0.7659 MB / 0.5091 GB, free: 5.074 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001487/0.1521, allocations: 1.24 MB / 0.5104 GB, free: 3.613 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.594e-05/0.1521, allocations: 4 kB / 0.5104 GB, free: 3.609 MB / 398.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002434/0.1546, allocations: 1.438 MB / 0.5118 GB, free: 2.156 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.591e-05/0.1546, allocations: 41.64 kB / 0.5118 GB, free: 2.109 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00136/0.156, allocations: 0.7898 MB / 0.5126 GB, free: 1.312 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007096/0.1567, allocations: 250 kB / 0.5128 GB, free: 1.062 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000662/0.1574, allocations: 215.6 kB / 0.513 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004236/0.1616, allocations: 4.382 MB / 0.5173 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006017/0.1622, allocations: 47.97 kB / 0.5173 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/0.1624, allocations: 71.97 kB / 0.5174 GB, free: 12.07 MB / 414.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.0004859/0.1628, allocations: 399.1 kB / 0.5178 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001142/0.163, allocations: 82.98 kB / 0.5179 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001285/0.1643, allocations: 0.8477 MB / 0.5187 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/0.1643, allocations: 4 kB / 0.5187 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1643, allocations: 4 kB / 0.5187 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.415e-06/0.1643, allocations: 3.984 kB / 0.5187 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002923/0.1672, allocations: 1.771 MB / 0.5204 GB, free: 8.848 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.1673, allocations: 0 / 0.5204 GB, free: 8.848 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007051/0.168, allocations: 148 kB / 0.5206 GB, free: 8.703 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.201e-05/0.168, allocations: 4 kB / 0.5206 GB, free: 8.699 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.809e-05/0.1681, allocations: 23.98 kB / 0.5206 GB, free: 8.676 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.797e-06/0.1681, allocations: 11.88 kB / 0.5206 GB, free: 8.664 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.1681, allocations: 0 / 0.5206 GB, free: 8.664 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001691/0.1698, allocations: 1.309 MB / 0.5219 GB, free: 7.316 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003591/0.1701, allocations: 208.1 kB / 0.5221 GB, free: 7.094 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001004/0.1703, allocations: 16 kB / 0.5221 GB, free: 7.078 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003548/0.1706, allocations: 31.97 kB / 0.5221 GB, free: 7.047 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/0.1707, allocations: 48.42 kB / 0.5222 GB, free: 7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.931e-05/0.1708, allocations: 43.97 kB / 0.5222 GB, free: 6.957 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004998/0.1713, allocations: 423 kB / 0.5226 GB, free: 6.547 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.1713, allocations: 0 / 0.5226 GB, free: 6.547 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009525/0.1723, allocations: 228 kB / 0.5229 GB, free: 6.324 MB / 414.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.001887/0.1742, allocations: 1.873 MB / 0.5247 GB, free: 4.391 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001965/0.1762, allocations: 1.236 MB / 0.5259 GB, free: 3.117 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.1762, allocations: 0 / 0.5259 GB, free: 3.117 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005823/0.1768, allocations: 472 kB / 0.5263 GB, free: 2.648 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008877/0.1777, allocations: 151.5 kB / 0.5265 GB, free: 2.504 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2415/0.4192, allocations: 8.051 MB / 0.5343 GB, free: 49.36 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006764/0.4199, allocations: 1.116 MB / 0.5354 GB, free: 48.66 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0006739/0.4206, allocations: 291.3 kB / 0.5357 GB, free: 48.65 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003477/0.421, allocations: 330.2 kB / 0.536 GB, free: 48.44 MB / 414.1 MB Notification: Performance of SimCode: time 9.42e-07/0.421, allocations: 0 / 0.536 GB, free: 48.44 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04443/0.4654, allocations: 16.34 MB / 0.552 GB, free: 43.13 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.49/10.95, allocations: 3.938 kB / 0.552 GB, free: 43.13 MB / 414.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/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)