Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 110.5 kB / 16.41 MB, free: 6.508 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.001229/0.001229, allocations: 181.2 kB / 17.34 MB, free: 5.738 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.431/1.431, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002456/0.002456, allocations: 291.8 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.005/1.005, allocations: 169.3 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002817/0.002817, allocations: 99.84 kB / 0.6821 GB, free: 6.965 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.457/0.4598, allocations: 86.97 MB / 0.7671 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03772/0.4975, allocations: 30.81 MB / 0.7972 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0232/0.5207, allocations: 13.61 MB / 0.8105 GB, free: 7.379 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003715/0.5244, allocations: 143.2 kB / 0.8106 GB, free: 7.238 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.009345/0.5338, allocations: 3.225 MB / 0.8137 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008397/0.5422, allocations: 2.764 MB / 0.8164 GB, free: 1.227 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006029/0.5482, allocations: 2.016 MB / 0.8184 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01178/0.56, allocations: 7.627 MB / 0.8259 GB, free: 7.562 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009538/0.5695, allocations: 6.147 MB / 0.8319 GB, free: 1.301 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006475/0.576, allocations: 3.463 MB / 0.8352 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006179/0.5822, allocations: 3.387 MB / 0.8386 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001598/0.5838, allocations: 0.5938 MB / 0.8391 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003686/0.5875, allocations: 1.49 MB / 0.8406 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.003118/0.5906, allocations: 2.431 MB / 0.843 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.004908/0.5955, allocations: 2.882 MB / 0.8458 GB, free: 3.012 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01449/0.61, allocations: 9.488 MB / 0.855 GB, free: 9.492 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.61, allocations: 0 / 0.855 GB, free: 9.492 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.452e-06/0.61, allocations: 0 / 0.855 GB, free: 9.492 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0002681/0.6103, allocations: 0 / 0.855 GB, free: 9.492 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01277/0.623, allocations: 5.266 MB / 0.8602 GB, free: 4.141 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.6231, allocations: 11.97 kB / 0.8602 GB, free: 4.129 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00644/0.6295, allocations: 1.028 MB / 0.8612 GB, free: 3.098 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007599/0.6371, allocations: 3.089 MB / 0.8642 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002986/0.6374, allocations: 316.8 kB / 0.8645 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001275/0.6387, allocations: 424 kB / 0.8649 GB, free: 15.2 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01251/0.6512, allocations: 6.791 MB / 0.8716 GB, free: 8.117 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001005/0.6513, allocations: 23.83 kB / 0.8716 GB, free: 8.094 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004665/0.6518, allocations: 184 kB / 0.8718 GB, free: 7.914 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000926/0.6527, allocations: 368 kB / 0.8721 GB, free: 7.551 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009089/0.6618, allocations: 5.118 MB / 0.8771 GB, free: 2.414 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03652/0.6983, allocations: 30.56 MB / 0.9069 GB, free: 1.094 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002079/0.7004, allocations: 1.309 MB / 0.9082 GB, free: 15.78 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001776/0.7021, allocations: 1.261 MB / 0.9095 GB, free: 14.52 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 8.132e-05/0.7022, allocations: 13.31 kB / 0.9095 GB, free: 14.51 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.079e-05/0.7023, allocations: 55.81 kB / 0.9095 GB, free: 14.45 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=130): time 2.885e-06/0.7023, allocations: 0 / 0.9095 GB, free: 14.45 MB / 0.6856 GB Notification: Performance of matching and sorting (n=199): time 0.09272/0.795, allocations: 23.07 MB / 0.932 GB, free: 7.258 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.367e-05/0.7951, allocations: 73.41 kB / 0.9321 GB, free: 7.172 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002955/0.798, allocations: 2.062 MB / 0.9341 GB, free: 5.094 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0002375/0.7983, allocations: 61.7 kB / 0.9342 GB, free: 5.027 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001588/0.7998, allocations: 2.067 MB / 0.9362 GB, free: 2.941 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007234/0.8006, allocations: 0.7126 MB / 0.9369 GB, free: 2.223 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007401/0.8013, allocations: 408.4 kB / 0.9373 GB, free: 1.816 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.8014, allocations: 309.1 kB / 0.9376 GB, free: 1.512 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002178/0.8036, allocations: 1.43 MB / 0.939 GB, free: 80 kB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00269/0.8063, allocations: 2.017 MB / 0.941 GB, free: 13.82 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00507/0.8114, allocations: 3.692 MB / 0.9446 GB, free: 9.883 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-05/0.8114, allocations: 8 kB / 0.9446 GB, free: 9.875 MB / 0.7169 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01221/0.8236, allocations: 5.6 MB / 0.95 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.798e-05/0.8236, allocations: 12 kB / 0.9501 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-05/0.8237, allocations: 20 kB / 0.9501 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007198/0.8309, allocations: 2.08 MB / 0.9521 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001668/0.8325, allocations: 375.4 kB / 0.9525 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.416/1.249, allocations: 38.45 MB / 0.99 GB, free: 165 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002525/1.251, allocations: 133.5 kB / 0.9901 GB, free: 165 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001924/1.251, allocations: 88.12 kB / 0.9902 GB, free: 164.9 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002168/1.253, allocations: 1.505 MB / 0.9917 GB, free: 164.3 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004939/1.254, allocations: 305.1 kB / 0.992 GB, free: 164.3 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008884/1.263, allocations: 5.142 MB / 0.997 GB, free: 162.1 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-05/1.263, allocations: 18.25 kB / 0.997 GB, free: 162.1 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.863e-05/1.263, allocations: 17.12 kB / 0.997 GB, free: 162.1 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.562e-05/1.263, allocations: 13.98 kB / 0.997 GB, free: 162.1 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01516/1.278, allocations: 9.598 MB / 1.006 GB, free: 158.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.41e-05/1.278, allocations: 5.688 kB / 1.006 GB, free: 158.2 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008268/1.279, allocations: 219.8 kB / 1.007 GB, free: 158.2 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005123/1.284, allocations: 1.849 MB / 1.008 GB, free: 157.7 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000168/1.284, allocations: 38.91 kB / 1.008 GB, free: 157.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02788/1.312, allocations: 37.47 MB / 1.045 GB, free: 119.4 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/1.312, allocations: 8 kB / 1.045 GB, free: 119.4 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007703/1.32, allocations: 4.866 MB / 1.05 GB, free: 114.5 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001397/1.321, allocations: 0.6319 MB / 1.05 GB, free: 113.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000311/1.321, allocations: 44 kB / 1.05 GB, free: 113.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00138/1.323, allocations: 127.8 kB / 1.051 GB, free: 113.6 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00061/1.323, allocations: 193.6 kB / 1.051 GB, free: 113.4 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001094/1.324, allocations: 56 kB / 1.051 GB, free: 113.4 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001453/1.325, allocations: 1.378 MB / 1.052 GB, free: 112 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/1.325, allocations: 0 / 1.052 GB, free: 112 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003136/1.328, allocations: 1.051 MB / 1.053 GB, free: 111 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002695/1.328, allocations: 168.5 kB / 1.053 GB, free: 110.8 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.008825/1.337, allocations: 6.012 MB / 1.059 GB, free: 104.6 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.102e-05/1.337, allocations: 0 / 1.059 GB, free: 104.6 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.005626/1.343, allocations: 4.286 MB / 1.063 GB, free: 100.1 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003829/1.347, allocations: 0.9874 MB / 1.064 GB, free: 99.12 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01145/1.358, allocations: 8.184 MB / 1.072 GB, free: 90.89 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00264/1.361, allocations: 3.125 MB / 1.075 GB, free: 87.73 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001694/1.362, allocations: 0.5198 MB / 1.076 GB, free: 87.21 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003259/1.363, allocations: 155.4 kB / 1.076 GB, free: 87.05 MB / 0.7325 GB Notification: Performance of SimCode: time 1.242e-06/1.363, allocations: 4 kB / 1.076 GB, free: 87.05 MB / 0.7325 GB Notification: Performance of Templates: time 0.08192/1.445, allocations: 58.92 MB / 1.134 GB, free: 29.1 MB / 0.7325 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1)