Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001089/0.001089, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.001456/0.001457, allocations: 168.7 kB / 15.95 MB, free: 200 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001815/0.001815, allocations: 277.2 kB / 291.4 MB, free: 1.977 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.013/1.013, allocations: 169.5 MB / 0.5 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004667/0.0004668, allocations: 15.59 kB / 0.598 GB, free: 28.36 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2008/0.2013, allocations: 88.54 MB / 0.6845 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer): time 0.01673/0.2181, allocations: 15.52 MB / 0.6996 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009559/0.2277, allocations: 5.753 MB / 0.7053 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001471/0.2292, allocations: 35.94 kB / 0.7053 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001236/0.2305, allocations: 311.9 kB / 0.7056 GB, free: 9.82 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002507/0.233, allocations: 0.8086 MB / 0.7064 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002016/0.235, allocations: 0.6014 MB / 0.707 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005024/0.2401, allocations: 4.903 MB / 0.7118 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008322/0.2484, allocations: 5.936 MB / 0.7176 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002418/0.2509, allocations: 1.308 MB / 0.7188 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002846/0.2537, allocations: 1.889 MB / 0.7207 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003305/0.2541, allocations: 196 kB / 0.7209 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001437/0.2555, allocations: 0.6009 MB / 0.7215 GB, free: 9.504 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001425/0.2569, allocations: 1.442 MB / 0.7229 GB, free: 8.059 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0006145/0.2576, allocations: 0.5473 MB / 0.7234 GB, free: 7.504 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004791/0.2624, allocations: 5.357 MB / 0.7286 GB, free: 2.133 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 8.787e-06/0.2624, allocations: 4 kB / 0.7286 GB, free: 2.129 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.704e-06/0.2624, allocations: 0 / 0.7286 GB, free: 2.129 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001593/0.2626, allocations: 0 / 0.7286 GB, free: 2.129 MB / 0.5137 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.004991/0.2676, allocations: 2.443 MB / 0.731 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.2676, allocations: 8.031 kB / 0.731 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009093/0.2767, allocations: 2.01 MB / 0.733 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003056/0.2798, allocations: 1.592 MB / 0.7345 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000162/0.28, allocations: 225.9 kB / 0.7348 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006004/0.2806, allocations: 288 kB / 0.735 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01184/0.2924, allocations: 5.738 MB / 0.7406 GB, free: 5.633 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.479e-05/0.2925, allocations: 3.938 kB / 0.7406 GB, free: 5.629 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003291/0.2929, allocations: 124 kB / 0.7408 GB, free: 5.508 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002994/0.2932, allocations: 208.8 kB / 0.741 GB, free: 5.301 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01274/0.3059, allocations: 5.796 MB / 0.7466 GB, free: 15.49 MB / 0.545 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.02815/0.3341, allocations: 22.84 MB / 0.7689 GB, free: 6.598 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005075/0.3392, allocations: 2.509 MB / 0.7714 GB, free: 3.969 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003895/0.3431, allocations: 1.632 MB / 0.773 GB, free: 2.316 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001849/0.3433, allocations: 118 kB / 0.7731 GB, free: 2.18 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.793e-05/0.3434, allocations: 51.5 kB / 0.7731 GB, free: 2.121 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=116): time 3.046e-06/0.3434, allocations: 0 / 0.7731 GB, free: 2.121 MB / 0.5606 GB Notification: Performance of matching and sorting (n=146): time 0.3996/0.743, allocations: 11.59 MB / 0.7844 GB, free: 85.16 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.255e-05/0.7431, allocations: 224.4 kB / 0.7847 GB, free: 84.91 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001698/0.7448, allocations: 1.033 MB / 0.7857 GB, free: 84.48 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0002913/0.7451, allocations: 48.83 kB / 0.7857 GB, free: 84.44 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007403/0.7459, allocations: 1.24 MB / 0.7869 GB, free: 83.49 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005328/0.7464, allocations: 0.5142 MB / 0.7874 GB, free: 83.1 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001463/0.7466, allocations: 38.62 kB / 0.7875 GB, free: 83.07 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002155/0.7468, allocations: 429.8 kB / 0.7879 GB, free: 82.71 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004288/0.7511, allocations: 1.761 MB / 0.7896 GB, free: 82.21 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004568/0.7557, allocations: 2.456 MB / 0.792 GB, free: 80.84 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004237/0.7599, allocations: 2.075 MB / 0.794 GB, free: 80.14 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.869e-05/0.76, allocations: 9.844 kB / 0.794 GB, free: 80.14 MB / 0.5606 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.01234/0.7723, allocations: 5.053 MB / 0.799 GB, free: 78.51 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.000466/0.7728, allocations: 0.7336 MB / 0.7997 GB, free: 77.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-05/0.7729, allocations: 21.72 kB / 0.7997 GB, free: 77.52 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002772/0.7757, allocations: 0.8877 MB / 0.8006 GB, free: 77.28 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003277/0.779, allocations: 0.7639 MB / 0.8013 GB, free: 77.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01237/0.7914, allocations: 12.8 MB / 0.8138 GB, free: 66.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003194/0.7946, allocations: 471.9 kB / 0.8143 GB, free: 65.99 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005424/0.7952, allocations: 115.8 kB / 0.8144 GB, free: 65.96 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.879e-06/0.7952, allocations: 4.125 kB / 0.8144 GB, free: 65.96 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01115/0.8064, allocations: 4.897 MB / 0.8192 GB, free: 63.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.444e-05/0.8065, allocations: 22.83 kB / 0.8192 GB, free: 63.38 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001945/0.8084, allocations: 0.7606 MB / 0.8199 GB, free: 62.98 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002949/0.8114, allocations: 0.7596 MB / 0.8207 GB, free: 62.71 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01014/0.8216, allocations: 12.65 MB / 0.833 GB, free: 51.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002842/0.8244, allocations: 447.2 kB / 0.8334 GB, free: 50.93 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004383/0.8249, allocations: 108 kB / 0.8335 GB, free: 50.82 MB / 0.5606 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.002471/0.8274, allocations: 1.289 MB / 0.8348 GB, free: 49.52 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006103/0.828, allocations: 123.3 kB / 0.8349 GB, free: 49.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009507/0.8375, allocations: 4.375 MB / 0.8392 GB, free: 44.97 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.667e-05/0.8376, allocations: 16 kB / 0.8392 GB, free: 44.95 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.038e-05/0.8376, allocations: 11.95 kB / 0.8392 GB, free: 44.94 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-05/0.8377, allocations: 7.969 kB / 0.8392 GB, free: 44.93 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0151/0.8528, allocations: 8.254 MB / 0.8473 GB, free: 36.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-05/0.8528, allocations: 8 kB / 0.8473 GB, free: 36.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00199/0.8548, allocations: 0.5194 MB / 0.8478 GB, free: 35.98 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00185/0.8567, allocations: 0.7196 MB / 0.8485 GB, free: 35.24 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001581/0.8568, allocations: 51.95 kB / 0.8486 GB, free: 35.19 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009963/0.8668, allocations: 12.27 MB / 0.8605 GB, free: 22.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.585e-06/0.8669, allocations: 12.55 kB / 0.8606 GB, free: 22.15 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008605/0.8755, allocations: 4.219 MB / 0.8647 GB, free: 17.82 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008964/0.8764, allocations: 495.1 kB / 0.8651 GB, free: 17.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000365/0.8768, allocations: 35.98 kB / 0.8652 GB, free: 17.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002154/0.8789, allocations: 387.4 kB / 0.8655 GB, free: 16.91 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002774/0.8792, allocations: 131.3 kB / 0.8657 GB, free: 16.78 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001518/0.8794, allocations: 59.95 kB / 0.8657 GB, free: 16.72 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001025/0.8804, allocations: 0.7371 MB / 0.8664 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.6e-07/0.8804, allocations: 4 kB / 0.8665 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004495/0.8849, allocations: 1.113 MB / 0.8675 GB, free: 14.88 MB / 0.5606 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.0003153/0.8853, allocations: 150 kB / 0.8677 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0152/0.9005, allocations: 8.013 MB / 0.8755 GB, free: 6.57 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.849e-06/0.9005, allocations: 0 / 0.8755 GB, free: 6.57 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005042/0.9056, allocations: 2.732 MB / 0.8782 GB, free: 3.762 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001802/0.9074, allocations: 178.4 kB / 0.8783 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01855/0.926, allocations: 8.204 MB / 0.8864 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003109/0.9291, allocations: 2.296 MB / 0.8886 GB, free: 8.969 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.004238/0.9334, allocations: 1.233 MB / 0.8898 GB, free: 7.73 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006209/0.934, allocations: 127.3 kB / 0.8899 GB, free: 7.605 MB / 0.5762 GB Notification: Performance of SimCode: time 1.684e-06/0.934, allocations: 0 / 0.8899 GB, free: 7.605 MB / 0.5762 GB Notification: Performance of Templates: time 0.05467/0.9887, allocations: 30.2 MB / 0.9194 GB, free: 9.543 MB / 0.6075 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe 2>&1)