Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.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.TransformerDD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008895/0.0008898, allocations: 86.17 kB / 15.06 MB, free: 1.09 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.0008573/0.0008576, allocations: 168.7 kB / 15.95 MB, free: 204 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.376/1.376, allocations: 223.3 MB / 240 MB, free: 5.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00173/0.00173, allocations: 266.8 kB / 291.3 MB, free: 1.945 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9358/0.9358, allocations: 169.5 MB / 0.5 GB, free: 14.19 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004125/0.0004126, allocations: 11.91 kB / 0.598 GB, free: 28.38 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1847/0.1852, allocations: 88.55 MB / 0.6845 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD): time 0.01487/0.2001, allocations: 14.26 MB / 0.6984 GB, free: 1.148 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.008299/0.2084, allocations: 5.416 MB / 0.7037 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001079/0.2095, allocations: 35.88 kB / 0.7037 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006957/0.2102, allocations: 274 kB / 0.704 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001886/0.2121, allocations: 0.754 MB / 0.7047 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001577/0.2137, allocations: 0.5901 MB / 0.7053 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004249/0.218, allocations: 4.587 MB / 0.7098 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007594/0.2256, allocations: 5.414 MB / 0.7151 GB, free: 20 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002011/0.2276, allocations: 1.222 MB / 0.7163 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002402/0.23, allocations: 1.784 MB / 0.718 GB, free: 13 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002843/0.2303, allocations: 180 kB / 0.7182 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001327/0.2317, allocations: 0.5853 MB / 0.7188 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001267/0.2329, allocations: 1.341 MB / 0.7201 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0005681/0.2335, allocations: 0.5122 MB / 0.7206 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.005403/0.2389, allocations: 4.975 MB / 0.7254 GB, free: 5.391 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 9.608e-06/0.239, allocations: 0 / 0.7254 GB, free: 5.391 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.036e-06/0.239, allocations: 3.938 kB / 0.7254 GB, free: 5.387 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001842/0.2392, allocations: 4 kB / 0.7254 GB, free: 5.383 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: 729 * Number of variables: 729 Notification: Performance of Generate backend data structure: time 0.006334/0.2455, allocations: 2.313 MB / 0.7277 GB, free: 3.012 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/0.2456, allocations: 16.03 kB / 0.7277 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009552/0.2551, allocations: 1.994 MB / 0.7297 GB, free: 0.9961 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002998/0.2582, allocations: 1.51 MB / 0.7311 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001434/0.2583, allocations: 205.4 kB / 0.7313 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004625/0.2588, allocations: 268 kB / 0.7316 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01079/0.2696, allocations: 5.439 MB / 0.7369 GB, free: 9.441 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.615e-05/0.2697, allocations: 0 / 0.7369 GB, free: 9.441 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003133/0.27, allocations: 112 kB / 0.737 GB, free: 9.332 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003088/0.2703, allocations: 196.4 kB / 0.7372 GB, free: 9.137 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01278/0.2831, allocations: 5.677 MB / 0.7427 GB, free: 3.441 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02468/0.3078, allocations: 21.27 MB / 0.7635 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005214/0.3131, allocations: 2.998 MB / 0.7664 GB, free: 9.168 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004745/0.3179, allocations: 2.125 MB / 0.7685 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002111/0.3181, allocations: 118 kB / 0.7686 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.994e-05/0.3182, allocations: 55.5 kB / 0.7687 GB, free: 6.828 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=139): time 4.128e-06/0.3182, allocations: 0 / 0.7687 GB, free: 6.828 MB / 0.5606 GB Notification: Performance of matching and sorting (n=181): time 0.411/0.7292, allocations: 12.93 MB / 0.7813 GB, free: 85.73 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.446e-05/0.7293, allocations: 230.2 kB / 0.7815 GB, free: 85.48 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0015/0.7308, allocations: 0.9709 MB / 0.7825 GB, free: 85.08 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0002915/0.7311, allocations: 55.64 kB / 0.7825 GB, free: 85.02 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005744/0.7317, allocations: 1.099 MB / 0.7836 GB, free: 84.18 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005433/0.7322, allocations: 0.6161 MB / 0.7842 GB, free: 83.71 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001605/0.7324, allocations: 45.44 kB / 0.7842 GB, free: 83.67 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001847/0.7326, allocations: 437.3 kB / 0.7847 GB, free: 83.31 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004444/0.737, allocations: 1.896 MB / 0.7865 GB, free: 82.77 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004491/0.7415, allocations: 2.492 MB / 0.7889 GB, free: 81.53 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004744/0.7463, allocations: 2.215 MB / 0.7911 GB, free: 80.79 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.35e-05/0.7463, allocations: 5.031 kB / 0.7911 GB, free: 80.79 MB / 0.5606 GB Notification: Performance of matching and sorting (n=290) (initialization): time 0.01176/0.7581, allocations: 5.479 MB / 0.7965 GB, free: 79 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003148/0.7584, allocations: 0.6057 MB / 0.797 GB, free: 78.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.722e-05/0.7585, allocations: 20.88 kB / 0.7971 GB, free: 78.19 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003313/0.7618, allocations: 1.216 MB / 0.7983 GB, free: 77.92 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003288/0.7651, allocations: 0.7444 MB / 0.799 GB, free: 77.88 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01301/0.7781, allocations: 10.5 MB / 0.8092 GB, free: 71.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003034/0.7812, allocations: 458.6 kB / 0.8097 GB, free: 70.95 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003206/0.7815, allocations: 115.5 kB / 0.8098 GB, free: 70.92 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.028e-05/0.7815, allocations: 5.844 kB / 0.8098 GB, free: 70.92 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01064/0.7922, allocations: 5.323 MB / 0.815 GB, free: 68.13 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.035e-05/0.7923, allocations: 18.62 kB / 0.815 GB, free: 68.13 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002101/0.7944, allocations: 0.9475 MB / 0.8159 GB, free: 67.66 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002909/0.7973, allocations: 0.7485 MB / 0.8167 GB, free: 67.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0108/0.8081, allocations: 10.33 MB / 0.8267 GB, free: 58.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002775/0.8109, allocations: 443.2 kB / 0.8272 GB, free: 58.35 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002704/0.8112, allocations: 112 kB / 0.8273 GB, free: 58.24 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 79 * 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 (220): * Single equations (assignments): 218 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,83.3%) 30,(6,83.3%) 30} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002034/0.8133, allocations: 1.219 MB / 0.8285 GB, free: 57.01 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00042/0.8137, allocations: 130.5 kB / 0.8286 GB, free: 56.88 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01/0.8237, allocations: 5.202 MB / 0.8337 GB, free: 51.63 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.027e-05/0.8238, allocations: 20 kB / 0.8337 GB, free: 51.61 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.647e-05/0.8238, allocations: 12 kB / 0.8337 GB, free: 51.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.011e-05/0.8238, allocations: 19.61 kB / 0.8337 GB, free: 51.58 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01482/0.8386, allocations: 8.838 MB / 0.8424 GB, free: 42.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.397e-05/0.8387, allocations: 8 kB / 0.8424 GB, free: 42.59 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002106/0.8408, allocations: 0.5427 MB / 0.8429 GB, free: 42.05 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002135/0.843, allocations: 0.9581 MB / 0.8438 GB, free: 41.09 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001512/0.8431, allocations: 59.95 kB / 0.8439 GB, free: 41.03 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01062/0.8537, allocations: 9.966 MB / 0.8536 GB, free: 30.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.105e-06/0.8538, allocations: 11.94 kB / 0.8536 GB, free: 30.79 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00922/0.863, allocations: 4.83 MB / 0.8583 GB, free: 25.84 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001064/0.8641, allocations: 0.5305 MB / 0.8589 GB, free: 25.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002338/0.8644, allocations: 36 kB / 0.8589 GB, free: 25.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002078/0.8665, allocations: 403.3 kB / 0.8593 GB, free: 24.86 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003682/0.8668, allocations: 166 kB / 0.8594 GB, free: 24.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001304/0.867, allocations: 67.95 kB / 0.8595 GB, free: 24.63 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008984/0.8679, allocations: 0.7137 MB / 0.8602 GB, free: 23.92 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8679, allocations: 0 / 0.8602 GB, free: 23.92 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003833/0.8717, allocations: 1.18 MB / 0.8614 GB, free: 22.74 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * 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 (109): * Single equations (assignments): 107 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,100.0%) 32,(7,63.3%) 29} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002618/0.872, allocations: 160 kB / 0.8615 GB, free: 22.57 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01529/0.8873, allocations: 8.131 MB / 0.8694 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.053e-05/0.8873, allocations: 2 kB / 0.8694 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005176/0.8925, allocations: 2.67 MB / 0.8721 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001547/0.8941, allocations: 194.7 kB / 0.8722 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01978/0.9139, allocations: 8.192 MB / 0.8802 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002858/0.9168, allocations: 2.231 MB / 0.8824 GB, free: 0.9414 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.006484/0.9233, allocations: 1.285 MB / 0.8837 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007795/0.9241, allocations: 127.3 kB / 0.8838 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of SimCode: time 1.513e-06/0.9242, allocations: 0 / 0.8838 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of Templates: time 0.09829/1.022, allocations: 34.6 MB / 0.9176 GB, free: 13.11 MB / 0.6075 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe 2>&1)