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.001549/0.001549, allocations: 100.9 kB / 17.06 MB, free: 6.145 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.001778/0.001778, allocations: 195 kB / 18 MB, free: 5.219 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.397/1.397, allocations: 205.1 MB / 223.9 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1806/0.1806, allocations: 37.97 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.001477/0.001477, allocations: 71.89 kB / 431.4 MB, free: 16.14 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1073, allocations: 55.24 MB / 486.6 MB, free: 8.848 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Transformer): time 0.008143/0.1155, allocations: 6.52 MB / 493.1 MB, free: 2.293 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004748/0.1203, allocations: 2.482 MB / 495.6 MB, free: 15.8 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006268/0.121, allocations: 27.81 kB / 495.6 MB, free: 15.77 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001688/0.1227, allocations: 0.6105 MB / 496.2 MB, free: 15.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001833/0.1246, allocations: 0.6769 MB / 496.9 MB, free: 14.48 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001268/0.1258, allocations: 451 kB / 497.4 MB, free: 14.04 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001598/0.1275, allocations: 1.365 MB / 498.7 MB, free: 12.67 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000802/0.1283, allocations: 487.8 kB / 499.2 MB, free: 12.2 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001073/0.1294, allocations: 0.5876 MB / 499.8 MB, free: 11.61 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001253/0.1306, allocations: 0.7827 MB / 0.4888 GB, free: 10.82 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002193/0.1309, allocations: 76 kB / 0.4889 GB, free: 10.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006292/0.1315, allocations: 275.6 kB / 0.4892 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005801/0.1321, allocations: 0.526 MB / 0.4897 GB, free: 9.949 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007756/0.1329, allocations: 0.5247 MB / 0.4902 GB, free: 9.422 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001442/0.1343, allocations: 1.328 MB / 0.4915 GB, free: 8.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1343, allocations: 0 / 0.4915 GB, free: 8.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.1343, allocations: 0 / 0.4915 GB, free: 8.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.053e-05/0.1344, allocations: 0 / 0.4915 GB, free: 8.09 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.002462/0.1369, allocations: 1.33 MB / 0.4928 GB, free: 6.699 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.1369, allocations: 19.88 kB / 0.4928 GB, free: 6.68 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002128/0.1371, allocations: 144.3 kB / 0.493 GB, free: 6.531 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009897/0.1381, allocations: 203.5 kB / 0.4932 GB, free: 6.332 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001142/0.1393, allocations: 0.7095 MB / 0.4938 GB, free: 5.582 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.879e-05/0.1393, allocations: 66.36 kB / 0.4939 GB, free: 5.516 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001929/0.1395, allocations: 91.92 kB / 0.494 GB, free: 5.426 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001837/0.1414, allocations: 1.388 MB / 0.4954 GB, free: 3.938 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.85e-05/0.1414, allocations: 4 kB / 0.4954 GB, free: 3.934 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.583e-05/0.1415, allocations: 36 kB / 0.4954 GB, free: 3.898 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002554/0.1418, allocations: 125.8 kB / 0.4955 GB, free: 3.773 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001608/0.1434, allocations: 1.093 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.006282/0.1497, allocations: 5.942 MB / 0.5024 GB, free: 12.43 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009929/0.1507, allocations: 0.7024 MB / 0.5031 GB, free: 11.69 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004176/0.1511, allocations: 315.3 kB / 0.5034 GB, free: 11.38 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.762e-05/0.1512, allocations: 16.55 kB / 0.5034 GB, free: 11.36 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005919/0.1518, allocations: 488.5 kB / 0.5038 GB, free: 10.85 MB / 398.1 MB Notification: Performance of pre-optimization done (n=65): time 2.154e-06/0.1518, allocations: 0 / 0.5038 GB, free: 10.85 MB / 398.1 MB Notification: Performance of matching and sorting (n=66): time 0.003362/0.1552, allocations: 2.148 MB / 0.5059 GB, free: 8.625 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.514e-05/0.1553, allocations: 162.8 kB / 0.5061 GB, free: 8.43 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007018/0.156, allocations: 0.6407 MB / 0.5067 GB, free: 7.781 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.76e-05/0.1561, allocations: 33.7 kB / 0.5068 GB, free: 7.742 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003928/0.1565, allocations: 0.5327 MB / 0.5073 GB, free: 7.199 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001851/0.1567, allocations: 240.7 kB / 0.5075 GB, free: 6.961 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002581/0.1569, allocations: 202.7 kB / 0.5077 GB, free: 6.758 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001721/0.1571, allocations: 386.7 kB / 0.5081 GB, free: 6.371 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004922/0.1576, allocations: 338.4 kB / 0.5084 GB, free: 6.039 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007671/0.1584, allocations: 0.7737 MB / 0.5091 GB, free: 5.066 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001383/0.1598, allocations: 1.24 MB / 0.5104 GB, free: 3.605 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.518e-06/0.1598, allocations: 4 kB / 0.5104 GB, free: 3.602 MB / 398.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002496/0.1623, allocations: 1.434 MB / 0.5118 GB, free: 2.152 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.804e-05/0.1624, allocations: 41.64 kB / 0.5118 GB, free: 2.105 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001466/0.1638, allocations: 0.7899 MB / 0.5126 GB, free: 1.309 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007729/0.1646, allocations: 258 kB / 0.5128 GB, free: 1.051 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000717/0.1653, allocations: 211.7 kB / 0.513 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004698/0.1701, allocations: 4.382 MB / 0.5173 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000606/0.1707, allocations: 51.97 kB / 0.5174 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001024/0.1708, allocations: 59.98 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.0005257/0.1713, allocations: 407 kB / 0.5178 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001525/0.1715, allocations: 79 kB / 0.5179 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001523/0.173, allocations: 0.8437 MB / 0.5187 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.394e-05/0.1731, allocations: 12.03 kB / 0.5187 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.1731, allocations: 0 / 0.5187 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/0.1731, allocations: 7.984 kB / 0.5187 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003506/0.1766, allocations: 1.767 MB / 0.5204 GB, free: 8.844 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.855e-06/0.1766, allocations: 4 kB / 0.5204 GB, free: 8.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008971/0.1775, allocations: 151.9 kB / 0.5206 GB, free: 8.691 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-05/0.1776, allocations: 4 kB / 0.5206 GB, free: 8.688 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.191e-05/0.1776, allocations: 19.98 kB / 0.5206 GB, free: 8.668 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.628e-06/0.1777, allocations: 8 kB / 0.5206 GB, free: 8.66 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.1777, allocations: 4 kB / 0.5206 GB, free: 8.656 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002397/0.1801, allocations: 1.309 MB / 0.5219 GB, free: 7.309 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000409/0.1805, allocations: 196.2 kB / 0.5221 GB, free: 7.098 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001447/0.1806, allocations: 19.98 kB / 0.5221 GB, free: 7.078 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004761/0.1811, allocations: 27.97 kB / 0.5221 GB, free: 7.051 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.1813, allocations: 52.39 kB / 0.5222 GB, free: 7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.845e-05/0.1813, allocations: 47.94 kB / 0.5222 GB, free: 6.953 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004878/0.1818, allocations: 423 kB / 0.5226 GB, free: 6.543 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1819, allocations: 3.938 kB / 0.5226 GB, free: 6.539 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008942/0.1828, allocations: 232 kB / 0.5229 GB, free: 6.312 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.001955/0.1847, allocations: 1.866 MB / 0.5247 GB, free: 4.387 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001912/0.1866, allocations: 1.24 MB / 0.5259 GB, free: 3.109 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.1867, allocations: 5.75 kB / 0.5259 GB, free: 3.105 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005806/0.1872, allocations: 462.3 kB / 0.5263 GB, free: 2.645 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007988/0.1881, allocations: 151.6 kB / 0.5265 GB, free: 2.5 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2226/0.4107, allocations: 8.054 MB / 0.5344 GB, free: 48.92 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007787/0.4115, allocations: 1.111 MB / 0.5354 GB, free: 48.19 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0007937/0.4123, allocations: 289.2 kB / 0.5357 GB, free: 48.18 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003706/0.4127, allocations: 331.9 kB / 0.536 GB, free: 47.93 MB / 414.1 MB Notification: Performance of SimCode: time 3.416e-06/0.4127, allocations: 3.844 kB / 0.536 GB, free: 47.93 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04984/0.4626, allocations: 16.35 MB / 0.552 GB, free: 42.54 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/12.06, allocations: 3.938 kB / 0.552 GB, free: 42.54 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)