Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.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.TransformerFull,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009572/0.0009574, allocations: 92.16 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.0008917/0.0008917, 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 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 223.3 MB / 240 MB, free: 5.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001785/0.001785, allocations: 270.8 kB / 291.3 MB, free: 1.844 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9657/0.9657, allocations: 169.5 MB / 0.5 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004347/0.0004349, allocations: 11.31 kB / 0.598 GB, free: 28.32 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1906/0.191, allocations: 88.55 MB / 0.6845 GB, free: 15.43 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull): time 0.01687/0.2079, allocations: 15.86 MB / 0.7 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009663/0.2177, allocations: 5.818 MB / 0.7057 GB, free: 9.715 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00124/0.2189, allocations: 51.75 kB / 0.7057 GB, free: 9.664 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008156/0.2198, allocations: 310.4 kB / 0.706 GB, free: 9.359 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002077/0.2219, allocations: 0.8327 MB / 0.7068 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002021/0.2239, allocations: 0.6577 MB / 0.7075 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00572/0.2296, allocations: 5.13 MB / 0.7125 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008929/0.2386, allocations: 5.961 MB / 0.7183 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002628/0.2412, allocations: 1.378 MB / 0.7196 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003296/0.2445, allocations: 1.963 MB / 0.7216 GB, free: 9.355 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0004023/0.2449, allocations: 192 kB / 0.7217 GB, free: 9.168 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00167/0.2466, allocations: 0.6009 MB / 0.7223 GB, free: 8.566 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001575/0.2482, allocations: 1.466 MB / 0.7238 GB, free: 7.098 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0007466/0.249, allocations: 0.5706 MB / 0.7243 GB, free: 6.52 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.005213/0.2542, allocations: 5.509 MB / 0.7297 GB, free: 0.9961 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.2542, allocations: 0 / 0.7297 GB, free: 0.9961 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.204e-06/0.2542, allocations: 0 / 0.7297 GB, free: 0.9961 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001327/0.2544, allocations: 0 / 0.7297 GB, free: 0.9961 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: 792 * Number of variables: 792 Notification: Performance of Generate backend data structure: time 0.005463/0.2598, allocations: 2.521 MB / 0.7322 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.2599, allocations: 8.031 kB / 0.7322 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01041/0.2703, allocations: 2.173 MB / 0.7343 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003812/0.2741, allocations: 1.695 MB / 0.7359 GB, free: 10.49 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001884/0.2744, allocations: 221.8 kB / 0.7361 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007305/0.2751, allocations: 284 kB / 0.7364 GB, free: 9.996 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01179/0.2869, allocations: 5.884 MB / 0.7422 GB, free: 4.039 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.333e-05/0.287, allocations: 0 / 0.7422 GB, free: 4.039 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003309/0.2873, allocations: 120 kB / 0.7423 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004116/0.2877, allocations: 261.9 kB / 0.7425 GB, free: 3.664 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01311/0.3009, allocations: 6.085 MB / 0.7485 GB, free: 13.56 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02845/0.3293, allocations: 22.51 MB / 0.7705 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005036/0.3344, allocations: 2.541 MB / 0.7729 GB, free: 2.492 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003904/0.3384, allocations: 1.694 MB / 0.7746 GB, free: 0.7969 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002337/0.3386, allocations: 114 kB / 0.7747 GB, free: 0.668 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.149e-05/0.3387, allocations: 47.56 kB / 0.7747 GB, free: 0.6133 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=122): time 4.298e-06/0.3387, allocations: 0 / 0.7747 GB, free: 0.6133 MB / 0.5606 GB Notification: Performance of matching and sorting (n=173): time 0.4023/0.741, allocations: 14.57 MB / 0.789 GB, free: 85.59 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/0.741, allocations: 72.16 kB / 0.789 GB, free: 85.52 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001516/0.7426, allocations: 1.139 MB / 0.7902 GB, free: 85.05 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0002517/0.7428, allocations: 58.8 kB / 0.7902 GB, free: 85 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005592/0.7434, allocations: 1.266 MB / 0.7914 GB, free: 84.03 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000456/0.7439, allocations: 0.5972 MB / 0.792 GB, free: 83.57 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001623/0.744, allocations: 49.69 kB / 0.7921 GB, free: 83.54 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.7442, allocations: 440.8 kB / 0.7925 GB, free: 83.17 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004107/0.7483, allocations: 2.008 MB / 0.7945 GB, free: 82.57 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005356/0.7537, allocations: 2.728 MB / 0.7971 GB, free: 81.07 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004967/0.7587, allocations: 2.366 MB / 0.7994 GB, free: 80.06 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-05/0.7587, allocations: 6.156 kB / 0.7994 GB, free: 80.06 MB / 0.5606 GB Notification: Performance of matching and sorting (n=301) (initialization): time 0.01416/0.7729, allocations: 6.219 MB / 0.8055 GB, free: 76.74 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004279/0.7733, allocations: 0.7576 MB / 0.8063 GB, free: 75.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.615e-05/0.7734, allocations: 22.94 kB / 0.8063 GB, free: 75.71 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004618/0.778, allocations: 1.527 MB / 0.8078 GB, free: 74.94 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002974/0.781, allocations: 0.7652 MB / 0.8085 GB, free: 74.67 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01756/0.7986, allocations: 17.38 MB / 0.8255 GB, free: 60.19 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003296/0.8019, allocations: 487 kB / 0.826 GB, free: 59.71 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005668/0.8025, allocations: 120 kB / 0.8261 GB, free: 59.59 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.177e-06/0.8025, allocations: 4 kB / 0.8261 GB, free: 59.59 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01269/0.8152, allocations: 6.057 MB / 0.832 GB, free: 53.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.503e-05/0.8154, allocations: 20 kB / 0.832 GB, free: 53.49 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003613/0.819, allocations: 1.458 MB / 0.8334 GB, free: 52.02 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00292/0.8219, allocations: 0.7565 MB / 0.8342 GB, free: 51.26 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0159/0.8378, allocations: 17.21 MB / 0.851 GB, free: 33.26 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002916/0.8408, allocations: 467.1 kB / 0.8514 GB, free: 32.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004715/0.8413, allocations: 120.1 kB / 0.8515 GB, free: 32.69 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 102 * 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 (235): * Single equations (assignments): 229 * 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 {(3,100.0%) 9,(3,100.0%) 9,(3,100.0%) 9,(3,100.0%) 9,(3,100.0%) 9,(3,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002269/0.8436, allocations: 1.324 MB / 0.8528 GB, free: 31.35 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004023/0.844, allocations: 140 kB / 0.853 GB, free: 31.21 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01177/0.8558, allocations: 5.802 MB / 0.8586 GB, free: 25.36 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.144e-05/0.8558, allocations: 16 kB / 0.8586 GB, free: 25.34 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.348e-05/0.8558, allocations: 16 kB / 0.8587 GB, free: 25.32 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.506e-05/0.8558, allocations: 7.969 kB / 0.8587 GB, free: 25.32 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01536/0.8712, allocations: 9.613 MB / 0.8681 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.106e-05/0.8713, allocations: 4 kB / 0.8681 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001981/0.8732, allocations: 0.5113 MB / 0.8686 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003261/0.8765, allocations: 1.281 MB / 0.8698 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001777/0.8767, allocations: 51.95 kB / 0.8699 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01674/0.8935, allocations: 16.58 MB / 0.8861 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.516e-06/0.8935, allocations: 8 kB / 0.8861 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01195/0.9055, allocations: 5.045 MB / 0.891 GB, free: 7.113 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001106/0.9066, allocations: 0.5461 MB / 0.8915 GB, free: 6.547 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004615/0.9071, allocations: 39.98 kB / 0.8916 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002423/0.9095, allocations: 435.3 kB / 0.892 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004301/0.9099, allocations: 159.7 kB / 0.8921 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001817/0.9101, allocations: 63.97 kB / 0.8922 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001277/0.9114, allocations: 0.809 MB / 0.893 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9114, allocations: 4 kB / 0.893 GB, free: 5.043 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004784/0.9162, allocations: 1.262 MB / 0.8942 GB, free: 3.781 MB / 0.5762 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 (104): * Single equations (assignments): 98 * 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%) 10,(2,100.0%) 10,(2,100.0%) 10,(3,100.0%) 9,(3,100.0%) 9,(3,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003265/0.9166, allocations: 157.5 kB / 0.8944 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.02051/0.9371, allocations: 9.471 MB / 0.9036 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.269e-05/0.9371, allocations: 8.062 kB / 0.9036 GB, free: 10 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00717/0.9443, allocations: 3.273 MB / 0.9068 GB, free: 6.652 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001862/0.9462, allocations: 237.1 kB / 0.907 GB, free: 6.43 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01948/0.9657, allocations: 8.778 MB / 0.9156 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002538/0.9683, allocations: 2.383 MB / 0.9179 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.003926/0.9722, allocations: 1.25 MB / 0.9192 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005054/0.9727, allocations: 131.3 kB / 0.9193 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of SimCode: time 1.012e-06/0.9727, allocations: 3.938 kB / 0.9193 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of Templates: time 0.06647/1.039, allocations: 42.69 MB / 0.961 GB, free: 15.34 MB / 0.6544 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe 2>&1)