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.000955/0.0009551, allocations: 94.2 kB / 16.3 MB, free: 5.992 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.0008685/0.0008686, allocations: 184.3 kB / 17.2 MB, free: 5.914 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.237/1.237, allocations: 223.2 MB / 241.1 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2883/0.2883, allocations: 38.07 MB / 330.3 MB, free: 14.25 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002764/0.0002765, allocations: 12 kB / 400.1 MB, free: 9.195 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2344/0.2347, allocations: 59.16 MB / 459.2 MB, free: 30.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Transformer): time 0.005443/0.2402, allocations: 6.451 MB / 465.7 MB, free: 25.79 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003496/0.2437, allocations: 2.605 MB / 468.3 MB, free: 23.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003854/0.2441, allocations: 37.94 kB / 468.3 MB, free: 23.94 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004074/0.2446, allocations: 187.9 kB / 468.5 MB, free: 23.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001061/0.2456, allocations: 0.5191 MB / 469 MB, free: 23.53 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008304/0.2465, allocations: 411 kB / 469.4 MB, free: 23.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006339/0.2471, allocations: 0.6355 MB / 470.1 MB, free: 23.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008786/0.248, allocations: 0.7062 MB / 470.8 MB, free: 22.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004254/0.2484, allocations: 391.4 kB / 471.1 MB, free: 22.47 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006629/0.2491, allocations: 0.519 MB / 471.7 MB, free: 22.31 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.938e-05/0.2492, allocations: 36 kB / 471.7 MB, free: 22.31 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003631/0.2496, allocations: 165.8 kB / 471.9 MB, free: 22.28 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003895/0.25, allocations: 456.4 kB / 472.3 MB, free: 22.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000172/0.2502, allocations: 205.8 kB / 472.5 MB, free: 22.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009525/0.2511, allocations: 0.9813 MB / 473.5 MB, free: 21.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.2511, allocations: 1.562 kB / 473.5 MB, free: 21.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2511, allocations: 0 / 473.5 MB, free: 21.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.454e-05/0.2512, allocations: 0 / 473.5 MB, free: 21.82 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.001682/0.2528, allocations: 1.146 MB / 474.6 MB, free: 21.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.2529, allocations: 9.625 kB / 474.6 MB, free: 21.04 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001469/0.253, allocations: 153.8 kB / 474.8 MB, free: 20.92 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009305/0.254, allocations: 218.3 kB / 475 MB, free: 20.81 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000987/0.255, allocations: 0.6543 MB / 475.7 MB, free: 20.31 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.182e-05/0.255, allocations: 64.2 kB / 475.7 MB, free: 20.28 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001755/0.2552, allocations: 91.06 kB / 475.8 MB, free: 20.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001567/0.2568, allocations: 1.37 MB / 477.2 MB, free: 19.33 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.586e-05/0.2568, allocations: 6.219 kB / 477.2 MB, free: 19.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.986e-05/0.2569, allocations: 38.5 kB / 477.2 MB, free: 19.3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002397/0.2571, allocations: 119.3 kB / 477.3 MB, free: 19.26 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001432/0.2586, allocations: 1.077 MB / 478.4 MB, free: 18.75 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.005146/0.2637, allocations: 5.959 MB / 484.4 MB, free: 13.64 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009811/0.2647, allocations: 0.7338 MB / 485.1 MB, free: 13.2 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.8e-05/0.2648, allocations: 11.42 kB / 485.1 MB, free: 13.2 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005314/0.2653, allocations: 470.7 kB / 485.6 MB, free: 12.88 MB / 350.1 MB Notification: Performance of pre-optimization done (n=65): time 2.555e-06/0.2653, allocations: 1.438 kB / 485.6 MB, free: 12.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.002559/0.2679, allocations: 2.213 MB / 487.8 MB, free: 10.74 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.531e-05/0.268, allocations: 170.8 kB / 488 MB, free: 10.54 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005007/0.2685, allocations: 0.6289 MB / 488.6 MB, free: 9.898 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.701e-05/0.2685, allocations: 37.7 kB / 488.6 MB, free: 9.855 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002218/0.2688, allocations: 0.5249 MB / 489.2 MB, free: 9.32 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000121/0.2689, allocations: 232.8 kB / 489.4 MB, free: 9.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.826e-05/0.2689, allocations: 28.12 kB / 489.4 MB, free: 9.062 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.189e-05/0.269, allocations: 382.8 kB / 489.8 MB, free: 8.68 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003937/0.2694, allocations: 338.4 kB / 490.1 MB, free: 8.348 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005063/0.2699, allocations: 0.7542 MB / 490.9 MB, free: 7.391 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004867/0.2704, allocations: 0.4995 MB / 491.4 MB, free: 6.891 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.2704, allocations: 8 kB / 491.4 MB, free: 6.883 MB / 350.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.001756/0.2722, allocations: 1.423 MB / 492.8 MB, free: 5.438 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.879e-05/0.2722, allocations: 37.7 kB / 492.8 MB, free: 5.395 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001093/0.2733, allocations: 0.7747 MB / 493.6 MB, free: 4.613 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005794/0.2739, allocations: 249.5 kB / 493.9 MB, free: 4.363 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006022/0.2745, allocations: 231.6 kB / 494.1 MB, free: 4.137 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002975/0.2775, allocations: 4.134 MB / 498.2 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005096/0.278, allocations: 59.92 kB / 498.3 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.127e-05/0.2781, allocations: 63.97 kB / 498.3 MB, free: 15.61 MB / 366.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.0004551/0.2786, allocations: 403 kB / 498.7 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.419e-05/0.2787, allocations: 75.06 kB / 498.8 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001174/0.2799, allocations: 0.8437 MB / 499.6 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-05/0.2799, allocations: 8 kB / 499.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.794e-06/0.2799, allocations: 0 / 499.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.2799, allocations: 3.984 kB / 499.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002347/0.2823, allocations: 1.756 MB / 0.4897 GB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.2823, allocations: 8 kB / 0.4897 GB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006838/0.283, allocations: 159.9 kB / 0.4898 GB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.283, allocations: 4 kB / 0.4898 GB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.463e-05/0.283, allocations: 31.94 kB / 0.4899 GB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.439e-06/0.283, allocations: 7.938 kB / 0.4899 GB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.2831, allocations: 0 / 0.4899 GB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001516/0.2846, allocations: 1.354 MB / 0.4912 GB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002722/0.2849, allocations: 208.1 kB / 0.4914 GB, free: 10.56 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.488e-05/0.2849, allocations: 16 kB / 0.4914 GB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003372/0.2853, allocations: 35.92 kB / 0.4914 GB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.333e-05/0.2854, allocations: 44.5 kB / 0.4915 GB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.014e-05/0.2855, allocations: 39.91 kB / 0.4915 GB, free: 10.43 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000406/0.2859, allocations: 431 kB / 0.4919 GB, free: 10.01 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2859, allocations: 0 / 0.4919 GB, free: 10.01 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007269/0.2866, allocations: 232 kB / 0.4921 GB, free: 9.781 MB / 366.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.001898/0.2885, allocations: 2.335 MB / 0.4944 GB, free: 7.371 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001522/0.29, allocations: 1.217 MB / 0.4956 GB, free: 6.117 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2901, allocations: 0 / 0.4956 GB, free: 6.117 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000507/0.2906, allocations: 458.9 kB / 0.4961 GB, free: 5.66 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005237/0.2911, allocations: 115 kB / 0.4962 GB, free: 5.551 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01031/0.3014, allocations: 15.5 MB / 0.5113 GB, free: 5.672 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007173/0.3022, allocations: 1.139 MB / 0.5124 GB, free: 4.508 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007183/0.3029, allocations: 290.4 kB / 0.5127 GB, free: 4.219 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003848/0.3033, allocations: 331.3 kB / 0.513 GB, free: 3.895 MB / 382.1 MB Notification: Performance of SimCode: time 9.02e-07/0.3033, allocations: 0 / 0.513 GB, free: 3.895 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02673/0.33, allocations: 15.2 MB / 0.5278 GB, free: 4.922 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001973/0.3303, allocations: 211.8 kB / 0.528 GB, free: 4.684 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.893/2.224, allocations: 3.938 kB / 0.5281 GB, free: 4.68 MB / 398.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