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.001014/0.001014, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.00825/0.00825, allocations: 169.8 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.343/1.343, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001715/0.001715, allocations: 275.1 kB / 291.7 MB, free: 1.867 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9612/0.9612, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000423/0.0004229, allocations: 17.22 kB / 0.5987 GB, free: 28.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1654/0.1659, allocations: 88.55 MB / 0.6851 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull): time 0.01903/0.1849, allocations: 16.77 MB / 0.7015 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01044/0.1954, allocations: 6.135 MB / 0.7075 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001106/0.1966, allocations: 39.88 kB / 0.7075 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008972/0.1975, allocations: 321.7 kB / 0.7079 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002302/0.1998, allocations: 1.008 MB / 0.7088 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001978/0.2018, allocations: 0.8618 MB / 0.7097 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006064/0.2079, allocations: 6.718 MB / 0.7162 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00936/0.2173, allocations: 6.812 MB / 0.7229 GB, free: 8.23 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002286/0.2196, allocations: 1.347 MB / 0.7242 GB, free: 6.879 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003124/0.2227, allocations: 2.002 MB / 0.7262 GB, free: 4.871 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0004051/0.2231, allocations: 196 kB / 0.7263 GB, free: 4.68 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001988/0.2251, allocations: 1.068 MB / 0.7274 GB, free: 3.609 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001451/0.2266, allocations: 1.469 MB / 0.7288 GB, free: 2.137 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.00149/0.2281, allocations: 1.448 MB / 0.7302 GB, free: 0.6758 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.005752/0.2339, allocations: 6.289 MB / 0.7364 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.2339, allocations: 0 / 0.7364 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.315e-06/0.2339, allocations: 0 / 0.7364 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001251/0.234, allocations: 0 / 0.7364 GB, free: 10.37 MB / 0.5294 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.005108/0.2392, allocations: 2.49 MB / 0.7388 GB, free: 7.816 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.2392, allocations: 12.03 kB / 0.7388 GB, free: 7.805 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01175/0.251, allocations: 2.178 MB / 0.741 GB, free: 5.621 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003311/0.2543, allocations: 1.715 MB / 0.7426 GB, free: 3.867 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001618/0.2545, allocations: 214.2 kB / 0.7428 GB, free: 3.656 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007251/0.2552, allocations: 284.3 kB / 0.7431 GB, free: 3.379 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01236/0.2676, allocations: 5.911 MB / 0.7489 GB, free: 13.39 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.535e-05/0.2677, allocations: 7.938 kB / 0.7489 GB, free: 13.39 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003589/0.2681, allocations: 120 kB / 0.749 GB, free: 13.27 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004349/0.2685, allocations: 258 kB / 0.7492 GB, free: 13.02 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01517/0.2837, allocations: 6.101 MB / 0.7552 GB, free: 6.902 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3454/0.6291, allocations: 22.52 MB / 0.7772 GB, free: 82.89 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006416/0.6356, allocations: 2.54 MB / 0.7797 GB, free: 82.58 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004377/0.64, allocations: 1.699 MB / 0.7813 GB, free: 82.57 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001765/0.6402, allocations: 114.4 kB / 0.7814 GB, free: 82.48 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.211e-05/0.6403, allocations: 49.94 kB / 0.7815 GB, free: 82.44 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=122): time 4.208e-06/0.6403, allocations: 0 / 0.7815 GB, free: 82.44 MB / 0.5606 GB Notification: Performance of matching and sorting (n=173): time 0.0509/0.6912, allocations: 14.59 MB / 0.7957 GB, free: 80.17 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.111e-05/0.6912, allocations: 70.84 kB / 0.7958 GB, free: 80.11 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001586/0.6928, allocations: 1.154 MB / 0.7969 GB, free: 79.63 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003401/0.6932, allocations: 52.05 kB / 0.797 GB, free: 79.58 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006948/0.6939, allocations: 1.27 MB / 0.7982 GB, free: 78.52 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000574/0.6945, allocations: 0.5925 MB / 0.7988 GB, free: 78.01 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003807/0.6949, allocations: 190.3 kB / 0.799 GB, free: 77.89 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.421e-05/0.695, allocations: 343.9 kB / 0.7993 GB, free: 77.56 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004793/0.6997, allocations: 2.024 MB / 0.8013 GB, free: 76.51 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005027/0.7048, allocations: 2.754 MB / 0.804 GB, free: 74.52 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009491/0.7143, allocations: 4.834 MB / 0.8087 GB, free: 71.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.533e-05/0.7144, allocations: 7.938 kB / 0.8087 GB, free: 71.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=301) (initialization): time 0.01418/0.7286, allocations: 6.26 MB / 0.8148 GB, free: 68.06 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003991/0.729, allocations: 0.7616 MB / 0.8156 GB, free: 67.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.768e-05/0.729, allocations: 22.62 kB / 0.8156 GB, free: 67.03 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00467/0.7337, allocations: 1.548 MB / 0.8171 GB, free: 66.25 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003187/0.7369, allocations: 0.7592 MB / 0.8178 GB, free: 65.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01728/0.7542, allocations: 17.45 MB / 0.8349 GB, free: 49.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003519/0.7578, allocations: 483 kB / 0.8353 GB, free: 48.54 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003577/0.7582, allocations: 120 kB / 0.8355 GB, free: 48.43 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.7582, allocations: 4 kB / 0.8355 GB, free: 48.42 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01352/0.7717, allocations: 6.074 MB / 0.8414 GB, free: 42.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.77e-05/0.7718, allocations: 24 kB / 0.8414 GB, free: 42.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003905/0.7757, allocations: 1.454 MB / 0.8428 GB, free: 40.83 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003286/0.779, allocations: 0.7671 MB / 0.8436 GB, free: 40.06 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01655/0.7956, allocations: 17.23 MB / 0.8604 GB, free: 22.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00363/0.7993, allocations: 471 kB / 0.8609 GB, free: 21.59 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002846/0.7996, allocations: 120 kB / 0.861 GB, free: 21.47 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 (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(3,9,100.0%), (3,9,100.0%), (3,9,100.0%), (3,9,100.0%), (3,9,100.0%), (3,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001868/0.8015, allocations: 1.329 MB / 0.8623 GB, free: 20.13 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003387/0.8018, allocations: 138.5 kB / 0.8624 GB, free: 19.99 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01318/0.815, allocations: 5.815 MB / 0.8681 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.451e-05/0.815, allocations: 16 kB / 0.8681 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.766e-05/0.8151, allocations: 16 kB / 0.8681 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.633e-05/0.8151, allocations: 7.969 kB / 0.8681 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01686/0.832, allocations: 9.62 MB / 0.8775 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.358e-05/0.832, allocations: 4.281 kB / 0.8775 GB, free: 4.281 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002339/0.8344, allocations: 0.5226 MB / 0.878 GB, free: 3.758 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003523/0.8379, allocations: 1.285 MB / 0.8793 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001683/0.8381, allocations: 51.97 kB / 0.8793 GB, free: 2.402 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02072/0.8588, allocations: 16.62 MB / 0.8956 GB, free: 0.9883 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.393e-06/0.8589, allocations: 7.938 kB / 0.8956 GB, free: 0.9805 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01274/0.8716, allocations: 5.056 MB / 0.9005 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001051/0.8727, allocations: 0.5499 MB / 0.901 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002357/0.8729, allocations: 32 kB / 0.9011 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002593/0.8755, allocations: 435.3 kB / 0.9015 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004016/0.8759, allocations: 160.8 kB / 0.9016 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001489/0.8761, allocations: 67.95 kB / 0.9017 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001124/0.8772, allocations: 0.8168 MB / 0.9025 GB, free: 9.727 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8772, allocations: 4 kB / 0.9025 GB, free: 9.723 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.004046/0.8813, allocations: 1.258 MB / 0.9037 GB, free: 8.465 MB / 0.5919 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 (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(2,10,100.0%), (2,10,100.0%), (2,10,100.0%), (3,9,100.0%), (3,9,100.0%), (3,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003544/0.8817, allocations: 161.4 kB / 0.9039 GB, free: 8.297 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.02179/0.9035, allocations: 9.509 MB / 0.9132 GB, free: 14.65 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.338e-05/0.9035, allocations: 0 / 0.9132 GB, free: 14.65 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.007892/0.9114, allocations: 3.294 MB / 0.9164 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002401/0.9139, allocations: 220.9 kB / 0.9166 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02091/0.9348, allocations: 9.023 MB / 0.9254 GB, free: 1.949 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002464/0.9373, allocations: 2.376 MB / 0.9277 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.003871/0.9412, allocations: 1.262 MB / 0.929 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005391/0.9417, allocations: 131.3 kB / 0.9291 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of SimCode: time 6.71e-07/0.9417, allocations: 4 kB / 0.9291 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of Templates: time 0.07034/1.012, allocations: 43.5 MB / 0.9716 GB, free: 2.922 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)