Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_latest_PowerSystems_Examples_AC3ph_Elementary_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Transformer,fileNamePrefix="PowerSystems_latest_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.001047/0.001047, allocations: 88.77 kB / 16.31 MB, free: 6.457 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.001151/0.001151, allocations: 183.1 kB / 17.21 MB, free: 6.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 223.3 MB / 241.2 MB, free: 324 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1819/0.1819, allocations: 38.1 MB / 330.4 MB, free: 8.867 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003176/0.0003176, allocations: 12 kB / 400.2 MB, free: 34.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1074, allocations: 59.17 MB / 459.3 MB, free: 7.316 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Transformer): time 0.006866/0.1143, allocations: 6.742 MB / 466.1 MB, free: 0.543 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004246/0.1186, allocations: 2.603 MB / 468.7 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006459/0.1193, allocations: 39.69 kB / 468.7 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005251/0.1198, allocations: 198.6 kB / 468.9 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001434/0.1213, allocations: 0.6846 MB / 469.6 MB, free: 13.01 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001008/0.1223, allocations: 411.3 kB / 470 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001828/0.1241, allocations: 1.739 MB / 471.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001192/0.1253, allocations: 0.7033 MB / 472.5 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007938/0.1261, allocations: 493.9 kB / 472.9 MB, free: 9.645 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001153/0.1273, allocations: 0.7946 MB / 473.7 MB, free: 8.848 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.11e-05/0.1274, allocations: 36 kB / 473.8 MB, free: 8.812 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004347/0.1278, allocations: 183.7 kB / 473.9 MB, free: 8.633 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004309/0.1283, allocations: 498.8 kB / 474.4 MB, free: 8.145 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001967/0.1285, allocations: 209.2 kB / 474.6 MB, free: 7.934 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008411/0.1293, allocations: 0.9742 MB / 475.6 MB, free: 6.957 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.1293, allocations: 0 / 475.6 MB, free: 6.957 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.928e-06/0.1293, allocations: 4 kB / 475.6 MB, free: 6.953 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.105e-05/0.1294, allocations: 7.875 kB / 475.6 MB, free: 6.945 MB / 350.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.001843/0.1312, allocations: 1.143 MB / 476.8 MB, free: 5.742 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.1313, allocations: 8.031 kB / 476.8 MB, free: 5.734 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001632/0.1314, allocations: 152.1 kB / 476.9 MB, free: 5.578 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008735/0.1323, allocations: 198.5 kB / 477.1 MB, free: 5.383 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009495/0.1333, allocations: 0.6579 MB / 477.8 MB, free: 4.684 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.507e-05/0.1333, allocations: 61.98 kB / 477.8 MB, free: 4.621 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001884/0.1335, allocations: 103.9 kB / 477.9 MB, free: 4.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001779/0.1353, allocations: 1.372 MB / 479.3 MB, free: 3.047 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.664e-05/0.1354, allocations: 4 kB / 479.3 MB, free: 3.043 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.796e-05/0.1354, allocations: 35.98 kB / 479.3 MB, free: 3.008 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000241/0.1357, allocations: 125.8 kB / 479.5 MB, free: 2.883 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001568/0.1373, allocations: 1.089 MB / 480.6 MB, free: 1.797 MB / 350.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.006252/0.1435, allocations: 5.969 MB / 486.5 MB, free: 11.52 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000966/0.1445, allocations: 0.6972 MB / 487.2 MB, free: 10.78 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004152/0.1449, allocations: 319.3 kB / 487.5 MB, free: 10.46 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.935e-05/0.145, allocations: 16.55 kB / 487.6 MB, free: 10.45 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006669/0.1457, allocations: 472.8 kB / 488 MB, free: 9.957 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 1.994e-06/0.1457, allocations: 3.938 kB / 488 MB, free: 9.953 MB / 366.1 MB Notification: Performance of matching and sorting (n=66): time 0.003129/0.1488, allocations: 2.144 MB / 490.2 MB, free: 7.734 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.905e-05/0.1489, allocations: 174.7 kB / 490.3 MB, free: 7.523 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006691/0.1496, allocations: 0.6288 MB / 491 MB, free: 6.887 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.12e-05/0.1497, allocations: 37.7 kB / 491 MB, free: 6.844 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003703/0.15, allocations: 0.5289 MB / 491.5 MB, free: 6.305 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001916/0.1502, allocations: 228.9 kB / 491.7 MB, free: 6.078 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.018e-05/0.1503, allocations: 20 kB / 491.8 MB, free: 6.059 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002249/0.1505, allocations: 390.8 kB / 492.2 MB, free: 5.668 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004907/0.151, allocations: 342.4 kB / 492.5 MB, free: 5.332 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008318/0.1519, allocations: 0.7581 MB / 493.2 MB, free: 4.375 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006519/0.1525, allocations: 0.4995 MB / 493.7 MB, free: 3.871 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.216e-06/0.1525, allocations: 8 kB / 493.8 MB, free: 3.863 MB / 366.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002373/0.1549, allocations: 1.431 MB / 495.2 MB, free: 2.414 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.618e-05/0.155, allocations: 41.69 kB / 495.2 MB, free: 2.367 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001381/0.1564, allocations: 0.7741 MB / 496 MB, free: 1.582 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000662/0.1571, allocations: 264.7 kB / 496.3 MB, free: 1.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006477/0.1577, allocations: 219.6 kB / 496.5 MB, free: 1.105 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004209/0.1619, allocations: 4.021 MB / 0.4888 GB, free: 12.81 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006408/0.1626, allocations: 63.89 kB / 0.4888 GB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000138/0.1627, allocations: 63.97 kB / 0.4889 GB, free: 12.68 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.0006576/0.1634, allocations: 406.3 kB / 0.4893 GB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001432/0.1636, allocations: 71.16 kB / 0.4893 GB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001316/0.1649, allocations: 0.8554 MB / 0.4902 GB, free: 11.33 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.1649, allocations: 4 kB / 0.4902 GB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.295e-06/0.1649, allocations: 0 / 0.4902 GB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.246e-06/0.1649, allocations: 7.984 kB / 0.4902 GB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002522/0.1675, allocations: 1.764 MB / 0.4919 GB, free: 9.477 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.1675, allocations: 4.062 kB / 0.4919 GB, free: 9.473 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006675/0.1682, allocations: 151.8 kB / 0.4921 GB, free: 9.324 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.505e-05/0.1682, allocations: 4 kB / 0.4921 GB, free: 9.32 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.889e-05/0.1683, allocations: 23.94 kB / 0.4921 GB, free: 9.297 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.252e-06/0.1683, allocations: 8.156 kB / 0.4921 GB, free: 9.289 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.1683, allocations: 4 kB / 0.4921 GB, free: 9.285 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001632/0.1699, allocations: 1.293 MB / 0.4934 GB, free: 7.953 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002538/0.1702, allocations: 204.1 kB / 0.4936 GB, free: 7.734 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.218e-05/0.1703, allocations: 16 kB / 0.4936 GB, free: 7.719 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003223/0.1706, allocations: 35.92 kB / 0.4936 GB, free: 7.684 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.674e-05/0.1707, allocations: 48.44 kB / 0.4936 GB, free: 7.637 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.8e-05/0.1708, allocations: 35.97 kB / 0.4937 GB, free: 7.602 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004839/0.1713, allocations: 431 kB / 0.4941 GB, free: 7.184 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1713, allocations: 0 / 0.4941 GB, free: 7.184 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008345/0.1721, allocations: 232 kB / 0.4943 GB, free: 6.957 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.001936/0.1741, allocations: 1.858 MB / 0.4961 GB, free: 5.047 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002186/0.1763, allocations: 1.225 MB / 0.4973 GB, free: 3.785 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.1763, allocations: 0 / 0.4973 GB, free: 3.785 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009178/0.1772, allocations: 470.3 kB / 0.4978 GB, free: 3.312 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001176/0.1784, allocations: 132 kB / 0.4979 GB, free: 3.188 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2453/0.4237, allocations: 5.742 MB / 0.5035 GB, free: 54.58 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007028/0.4244, allocations: 1.113 MB / 0.5046 GB, free: 53.88 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007998/0.4253, allocations: 290.5 kB / 0.5049 GB, free: 53.87 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000408/0.4257, allocations: 332.5 kB / 0.5052 GB, free: 53.86 MB / 382.1 MB Notification: Performance of SimCode: time 1.192e-06/0.4257, allocations: 0 / 0.5052 GB, free: 53.86 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03515/0.4608, allocations: 15.25 MB / 0.5201 GB, free: 49.37 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002099/0.4611, allocations: 222.8 kB / 0.5203 GB, free: 49.12 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.16/2.622, allocations: 5.297 kB / 0.5203 GB, free: 49.12 MB / 382.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Transformer_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Transformer.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer_res.mat does not exist to compare? outputFormat=mat