Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007626/0.0007625, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.0007772/0.0007774, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.56/1.56, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.688/1.688, allocations: 292.7 MB / 0.5499 GB, free: 14.56 MB / 462.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.0005244/0.0005244, allocations: 21.5 kB / 0.6737 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2513/0.2518, allocations: 116.3 MB / 0.7873 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer): time 0.01719/0.269, allocations: 15.51 MB / 0.8024 GB, free: 12.37 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01069/0.2798, allocations: 5.798 MB / 0.8081 GB, free: 6.555 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001681/0.2815, allocations: 35.94 kB / 0.8081 GB, free: 6.52 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001716/0.2833, allocations: 305.8 kB / 0.8084 GB, free: 6.219 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003511/0.2868, allocations: 0.8132 MB / 0.8092 GB, free: 5.402 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002542/0.2894, allocations: 0.6003 MB / 0.8098 GB, free: 4.801 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.006117/0.2955, allocations: 4.891 MB / 0.8146 GB, free: 15.9 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01115/0.3067, allocations: 5.929 MB / 0.8204 GB, free: 9.91 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002871/0.3096, allocations: 1.308 MB / 0.8217 GB, free: 8.598 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003977/0.3136, allocations: 1.908 MB / 0.8235 GB, free: 6.684 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001034/0.3147, allocations: 188 kB / 0.8237 GB, free: 6.5 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002328/0.317, allocations: 0.597 MB / 0.8243 GB, free: 5.902 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.00252/0.3195, allocations: 1.434 MB / 0.8257 GB, free: 4.465 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001338/0.3209, allocations: 0.5512 MB / 0.8262 GB, free: 3.906 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.006632/0.3275, allocations: 5.373 MB / 0.8315 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.3276, allocations: 0 / 0.8315 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of FrontEnd: time 4.137e-06/0.3276, allocations: 4 kB / 0.8315 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0002007/0.3278, allocations: 0 / 0.8315 GB, free: 14.52 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 789 * Number of variables: 789 Notification: Performance of Generate backend data structure: time 0.006366/0.3342, allocations: 2.42 MB / 0.8338 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.3342, allocations: 12.03 kB / 0.8338 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01005/0.3443, allocations: 2.013 MB / 0.8358 GB, free: 10 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003492/0.3478, allocations: 1.592 MB / 0.8374 GB, free: 8.367 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002389/0.3481, allocations: 217.9 kB / 0.8376 GB, free: 8.152 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001092/0.3492, allocations: 287.9 kB / 0.8378 GB, free: 7.871 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01456/0.3638, allocations: 5.746 MB / 0.8435 GB, free: 2.031 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000108/0.3639, allocations: 3.938 kB / 0.8435 GB, free: 2.027 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008703/0.3648, allocations: 123.9 kB / 0.8436 GB, free: 1.906 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003545/0.3652, allocations: 208.9 kB / 0.8438 GB, free: 1.699 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01448/0.3797, allocations: 5.791 MB / 0.8494 GB, free: 11.89 MB / 0.67 GB 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.02995/0.4096, allocations: 22.86 MB / 0.8718 GB, free: 2.969 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004981/0.4147, allocations: 2.495 MB / 0.8742 GB, free: 360 kB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003829/0.4185, allocations: 1.636 MB / 0.8758 GB, free: 14.7 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002052/0.4187, allocations: 114.1 kB / 0.8759 GB, free: 14.57 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.512e-05/0.4188, allocations: 59.48 kB / 0.876 GB, free: 14.5 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=116): time 3.597e-06/0.4188, allocations: 0 / 0.876 GB, free: 14.5 MB / 0.7012 GB Notification: Performance of matching and sorting (n=146): time 0.03368/0.4525, allocations: 11.59 MB / 0.8873 GB, free: 2.859 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001223/0.4527, allocations: 230.9 kB / 0.8875 GB, free: 2.582 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001455/0.4541, allocations: 1.035 MB / 0.8885 GB, free: 1.531 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001991/0.4544, allocations: 45.7 kB / 0.8886 GB, free: 1.48 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007829/0.4551, allocations: 1.239 MB / 0.8898 GB, free: 228 kB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.000517/0.4557, allocations: 0.5086 MB / 0.8903 GB, free: 15.7 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001463/0.4558, allocations: 40 kB / 0.8903 GB, free: 15.66 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0002069/0.456, allocations: 431 kB / 0.8907 GB, free: 15.23 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003981/0.46, allocations: 1.76 MB / 0.8924 GB, free: 13.47 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004323/0.4644, allocations: 2.455 MB / 0.8948 GB, free: 10.7 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004109/0.4685, allocations: 2.083 MB / 0.8969 GB, free: 8.617 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.008e-05/0.4685, allocations: 4 kB / 0.8969 GB, free: 8.613 MB / 0.7169 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.01099/0.4795, allocations: 5.06 MB / 0.9018 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005675/0.4801, allocations: 0.7239 MB / 0.9025 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.857e-05/0.4802, allocations: 31.98 kB / 0.9025 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00262/0.4828, allocations: 0.887 MB / 0.9034 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002971/0.4858, allocations: 0.7526 MB / 0.9041 GB, free: 0.8086 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01358/0.4994, allocations: 12.8 MB / 0.9166 GB, free: 3.207 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003288/0.5027, allocations: 471 kB / 0.9171 GB, free: 2.746 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005456/0.5033, allocations: 112 kB / 0.9172 GB, free: 2.637 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.004e-05/0.5033, allocations: 7.938 kB / 0.9172 GB, free: 2.629 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.4993/1.003, allocations: 4.902 MB / 0.922 GB, free: 121.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001007/1.003, allocations: 22.8 kB / 0.922 GB, free: 121.4 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002106/1.005, allocations: 0.7615 MB / 0.9228 GB, free: 121.4 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003389/1.008, allocations: 0.7565 MB / 0.9235 GB, free: 121.4 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01237/1.021, allocations: 12.64 MB / 0.9358 GB, free: 113.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003122/1.024, allocations: 447.3 kB / 0.9363 GB, free: 113.1 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002632/1.024, allocations: 114.6 kB / 0.9364 GB, free: 113.1 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (232): * Single equations (assignments): 226 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002439/1.027, allocations: 1.286 MB / 0.9376 GB, free: 112.5 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004284/1.027, allocations: 119.8 kB / 0.9378 GB, free: 112.5 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01077/1.038, allocations: 4.376 MB / 0.942 GB, free: 111.1 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.698e-05/1.038, allocations: 19.22 kB / 0.942 GB, free: 111.1 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.627e-05/1.038, allocations: 12.91 kB / 0.9421 GB, free: 111.1 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.622e-05/1.038, allocations: 8.25 kB / 0.9421 GB, free: 111.1 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01732/1.055, allocations: 8.244 MB / 0.9501 GB, free: 107.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.886e-05/1.055, allocations: 6.812 kB / 0.9501 GB, free: 107.7 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002169/1.057, allocations: 0.5206 MB / 0.9506 GB, free: 107.7 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002191/1.06, allocations: 0.7112 MB / 0.9513 GB, free: 107.4 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000175/1.06, allocations: 51.98 kB / 0.9514 GB, free: 107.4 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01196/1.072, allocations: 12.27 MB / 0.9634 GB, free: 97.67 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.144e-05/1.072, allocations: 11.23 kB / 0.9634 GB, free: 97.67 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009711/1.082, allocations: 4.219 MB / 0.9675 GB, free: 95.44 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008862/1.082, allocations: 491.7 kB / 0.968 GB, free: 95.08 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001954/1.083, allocations: 31.81 kB / 0.968 GB, free: 95.06 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002046/1.085, allocations: 393.2 kB / 0.9684 GB, free: 94.88 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002779/1.085, allocations: 128.7 kB / 0.9685 GB, free: 94.81 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001143/1.085, allocations: 63.56 kB / 0.9685 GB, free: 94.79 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009585/1.086, allocations: 0.7397 MB / 0.9693 GB, free: 94.36 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.31e-07/1.086, allocations: 0 / 0.9693 GB, free: 94.36 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.004062/1.09, allocations: 1.118 MB / 0.9704 GB, free: 94.26 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002833/1.09, allocations: 149.3 kB / 0.9705 GB, free: 94.14 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.015/1.106, allocations: 8.019 MB / 0.9783 GB, free: 89.35 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.808e-06/1.106, allocations: 1.875 kB / 0.9783 GB, free: 89.35 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.004941/1.111, allocations: 2.718 MB / 0.981 GB, free: 87.61 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001484/1.112, allocations: 176.3 kB / 0.9812 GB, free: 87.51 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.016/1.128, allocations: 8.211 MB / 0.9892 GB, free: 79.95 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00184/1.13, allocations: 2.292 MB / 0.9914 GB, free: 77.62 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.003407/1.133, allocations: 1.229 MB / 0.9926 GB, free: 76.39 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004508/1.134, allocations: 133.4 kB / 0.9927 GB, free: 76.26 MB / 0.7325 GB Notification: Performance of SimCode: time 1.243e-06/1.134, allocations: 3.938 kB / 0.9927 GB, free: 76.25 MB / 0.7325 GB Notification: Performance of Templates: time 0.03811/1.172, allocations: 30.17 MB / 1.022 GB, free: 46.18 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe 2>&1) Environment - environmentSimulation: