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.000998/0.0009984, allocations: 98.58 kB / 16.3 MB, free: 5.551 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.001062/0.001062, allocations: 182.9 kB / 17.19 MB, free: 5.484 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.312/1.312, allocations: 205.4 MB / 223.3 MB, free: 13.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1708/0.1708, allocations: 38.04 MB / 309.7 MB, free: 6.133 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.0005887/0.0005889, allocations: 15.12 kB / 376.6 MB, free: 3.109 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2622/0.2629, allocations: 56.33 MB / 432.9 MB, free: 18.83 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Transformer): time 0.005484/0.2684, allocations: 6.458 MB / 439.4 MB, free: 12.35 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003967/0.2724, allocations: 2.636 MB / 442 MB, free: 9.703 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006144/0.273, allocations: 43.69 kB / 442 MB, free: 9.66 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004698/0.2735, allocations: 186.9 kB / 442.2 MB, free: 9.477 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001244/0.2748, allocations: 0.5141 MB / 442.7 MB, free: 8.961 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009211/0.2757, allocations: 407.1 kB / 443.1 MB, free: 8.562 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006933/0.2764, allocations: 0.6444 MB / 443.8 MB, free: 7.918 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001035/0.2775, allocations: 0.7023 MB / 444.5 MB, free: 7.184 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004427/0.2779, allocations: 394.6 kB / 444.9 MB, free: 6.797 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006092/0.2785, allocations: 0.5219 MB / 445.4 MB, free: 6.273 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.242e-05/0.2786, allocations: 36 kB / 445.4 MB, free: 6.238 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003352/0.279, allocations: 167.8 kB / 445.6 MB, free: 6.074 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002852/0.2793, allocations: 454.9 kB / 446 MB, free: 5.629 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001377/0.2794, allocations: 201.2 kB / 446.2 MB, free: 5.426 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006175/0.28, allocations: 0.9742 MB / 447.2 MB, free: 4.449 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.28, allocations: 0 / 447.2 MB, free: 4.449 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.2801, allocations: 0 / 447.2 MB, free: 4.449 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.13e-05/0.2801, allocations: 3.938 kB / 447.2 MB, free: 4.445 MB / 318.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.001656/0.2817, allocations: 1.151 MB / 448.4 MB, free: 3.234 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.2818, allocations: 12.03 kB / 448.4 MB, free: 3.223 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001343/0.2819, allocations: 148.1 kB / 448.5 MB, free: 3.07 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009348/0.2829, allocations: 226.4 kB / 448.7 MB, free: 2.848 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001004/0.2839, allocations: 0.6425 MB / 449.4 MB, free: 2.164 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.297e-05/0.2839, allocations: 65.98 kB / 449.4 MB, free: 2.098 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001669/0.2841, allocations: 103.8 kB / 449.5 MB, free: 1.996 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001491/0.2856, allocations: 1.364 MB / 450.9 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.712e-05/0.2856, allocations: 7.938 kB / 450.9 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.798e-05/0.2857, allocations: 43.94 kB / 451 MB, free: 492 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002312/0.286, allocations: 125.9 kB / 451.1 MB, free: 364 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001508/0.2875, allocations: 1.069 MB / 452.2 MB, free: 15.29 MB / 334.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.007435/0.2949, allocations: 5.961 MB / 458.1 MB, free: 9.012 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0012/0.2962, allocations: 0.7206 MB / 458.8 MB, free: 8.258 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.197e-05/0.2962, allocations: 12.62 kB / 458.8 MB, free: 8.246 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007212/0.2969, allocations: 468.8 kB / 459.3 MB, free: 7.758 MB / 334.1 MB Notification: Performance of pre-optimization done (n=65): time 3.005e-06/0.297, allocations: 0 / 459.3 MB, free: 7.758 MB / 334.1 MB Notification: Performance of matching and sorting (n=66): time 0.003462/0.3004, allocations: 2.208 MB / 461.5 MB, free: 5.457 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.325e-05/0.3005, allocations: 174.7 kB / 461.7 MB, free: 5.25 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006902/0.3012, allocations: 0.6366 MB / 462.3 MB, free: 4.605 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.705e-05/0.3013, allocations: 37.7 kB / 462.4 MB, free: 4.562 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003791/0.3017, allocations: 0.5289 MB / 462.9 MB, free: 4.023 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001703/0.3019, allocations: 236.8 kB / 463.1 MB, free: 3.789 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.033e-05/0.3019, allocations: 24 kB / 463.1 MB, free: 3.766 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001707/0.3021, allocations: 386.8 kB / 463.5 MB, free: 3.379 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004716/0.3026, allocations: 334.4 kB / 463.8 MB, free: 3.051 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008198/0.3034, allocations: 0.762 MB / 464.6 MB, free: 2.086 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006552/0.3041, allocations: 0.4956 MB / 465.1 MB, free: 1.582 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.732e-06/0.3041, allocations: 4 kB / 465.1 MB, free: 1.578 MB / 334.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002344/0.3064, allocations: 1.415 MB / 466.5 MB, free: 152 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.056e-05/0.3065, allocations: 41.66 kB / 466.6 MB, free: 104 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001333/0.3078, allocations: 0.7864 MB / 467.3 MB, free: 15.31 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007012/0.3085, allocations: 245.5 kB / 467.6 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007014/0.3093, allocations: 223.6 kB / 467.8 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004462/0.3137, allocations: 4.138 MB / 471.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000659/0.3144, allocations: 56.03 kB / 472 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.845e-05/0.3145, allocations: 63.97 kB / 472.1 MB, free: 10.31 MB / 350.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.0005751/0.3151, allocations: 399 kB / 472.4 MB, free: 9.906 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/0.3152, allocations: 83.02 kB / 472.5 MB, free: 9.824 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001294/0.3165, allocations: 0.8436 MB / 473.4 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.296e-06/0.3165, allocations: 8 kB / 473.4 MB, free: 8.953 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.3166, allocations: 0 / 473.4 MB, free: 8.953 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/0.3166, allocations: 7.984 kB / 473.4 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002545/0.3191, allocations: 1.756 MB / 475.1 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.3191, allocations: 0 / 475.1 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000698/0.3198, allocations: 163.9 kB / 475.3 MB, free: 6.953 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.174e-06/0.3199, allocations: 4 kB / 475.3 MB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.537e-05/0.3199, allocations: 19.98 kB / 475.3 MB, free: 6.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.3199, allocations: 4 kB / 475.3 MB, free: 6.926 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.3199, allocations: 3.938 kB / 475.3 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001657/0.3216, allocations: 1.366 MB / 476.7 MB, free: 5.473 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003178/0.3219, allocations: 204.1 kB / 476.9 MB, free: 5.254 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.983e-05/0.322, allocations: 16 kB / 476.9 MB, free: 5.238 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003425/0.3224, allocations: 31.97 kB / 476.9 MB, free: 5.207 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/0.3225, allocations: 44.44 kB / 477 MB, free: 5.164 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.919e-05/0.3226, allocations: 39.97 kB / 477 MB, free: 5.125 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004935/0.3231, allocations: 431 kB / 477.5 MB, free: 4.707 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3231, allocations: 0 / 477.5 MB, free: 4.707 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009189/0.324, allocations: 232 kB / 477.7 MB, free: 4.48 MB / 350.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.002269/0.3263, allocations: 2.333 MB / 480 MB, free: 2.074 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001792/0.3281, allocations: 1.206 MB / 481.2 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.3281, allocations: 0 / 481.2 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005727/0.3287, allocations: 474.8 kB / 481.7 MB, free: 372 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005959/0.3293, allocations: 111.5 kB / 481.8 MB, free: 264 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01329/0.3426, allocations: 15.51 MB / 497.3 MB, free: 384 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008365/0.3435, allocations: 1.134 MB / 498.4 MB, free: 15.21 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008224/0.3443, allocations: 290.4 kB / 498.7 MB, free: 14.93 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004225/0.3447, allocations: 331.3 kB / 499 MB, free: 14.6 MB / 382.1 MB Notification: Performance of SimCode: time 1.543e-06/0.3447, allocations: 0 / 499 MB, free: 14.6 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03314/0.3779, allocations: 15.19 MB / 0.5022 GB, free: 15.45 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001831/0.3781, allocations: 205.4 kB / 0.5024 GB, free: 15.2 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.991/2.369, allocations: 0 / 0.5024 GB, free: 15.2 MB / 398.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: