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.001372/0.001372, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001442/0.001442, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.363/1.363, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002805/0.002805, allocations: 292 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9509/0.9509, allocations: 169.3 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001839/0.001839, allocations: 95.86 kB / 0.6821 GB, free: 6.938 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4089/0.4108, allocations: 86.99 MB / 0.7671 GB, free: 4.039 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03414/0.445, allocations: 30.74 MB / 0.7971 GB, free: 5.191 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02121/0.4662, allocations: 13.59 MB / 0.8104 GB, free: 7.566 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002968/0.4692, allocations: 143.2 kB / 0.8105 GB, free: 7.426 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.008354/0.4777, allocations: 3.201 MB / 0.8136 GB, free: 4.215 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007651/0.4853, allocations: 2.761 MB / 0.8163 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005366/0.4907, allocations: 2.013 MB / 0.8183 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00954/0.5003, allocations: 7.647 MB / 0.8258 GB, free: 7.758 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0115/0.5118, allocations: 8.229 MB / 0.8338 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005865/0.5177, allocations: 3.47 MB / 0.8372 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005648/0.5234, allocations: 3.383 MB / 0.8405 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001897/0.5253, allocations: 0.5938 MB / 0.8411 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004059/0.5294, allocations: 1.494 MB / 0.8425 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.003793/0.5332, allocations: 2.37 MB / 0.8448 GB, free: 4.07 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.005991/0.5392, allocations: 2.878 MB / 0.8476 GB, free: 1.18 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01212/0.5514, allocations: 9.461 MB / 0.8569 GB, free: 7.691 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.5514, allocations: 0 / 0.8569 GB, free: 7.691 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.954e-06/0.5514, allocations: 0 / 0.8569 GB, free: 7.691 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0002867/0.5517, allocations: 0 / 0.8569 GB, free: 7.691 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.01287/0.5646, allocations: 5.144 MB / 0.8619 GB, free: 2.469 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.5646, allocations: 8.031 kB / 0.8619 GB, free: 2.461 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006951/0.5716, allocations: 1.002 MB / 0.8629 GB, free: 1.453 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006002/0.5776, allocations: 3.075 MB / 0.8659 GB, free: 14.3 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002324/0.5779, allocations: 316.8 kB / 0.8662 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001045/0.5789, allocations: 428 kB / 0.8666 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01244/0.5914, allocations: 6.784 MB / 0.8732 GB, free: 6.488 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001198/0.5915, allocations: 19.78 kB / 0.8733 GB, free: 6.469 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004856/0.592, allocations: 188 kB / 0.8734 GB, free: 6.285 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008733/0.5929, allocations: 368 kB / 0.8738 GB, free: 5.922 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00932/0.6022, allocations: 5.114 MB / 0.8788 GB, free: 0.7891 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0382/0.6405, allocations: 30.51 MB / 0.9086 GB, free: 15.5 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002919/0.6435, allocations: 1.383 MB / 0.9099 GB, free: 14.11 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002315/0.6458, allocations: 1.338 MB / 0.9112 GB, free: 12.78 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000176/0.646, allocations: 17.25 kB / 0.9112 GB, free: 12.77 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.299e-05/0.6461, allocations: 51.88 kB / 0.9113 GB, free: 12.71 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=130): time 4.088e-06/0.6461, allocations: 4 kB / 0.9113 GB, free: 12.7 MB / 0.6856 GB Notification: Performance of matching and sorting (n=199): time 0.1468/0.7929, allocations: 23.08 MB / 0.9338 GB, free: 5.508 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.052e-05/0.793, allocations: 81.34 kB / 0.9339 GB, free: 5.414 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005812/0.7988, allocations: 2.058 MB / 0.9359 GB, free: 3.34 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.000569/0.7995, allocations: 61.7 kB / 0.936 GB, free: 3.273 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.002357/0.8019, allocations: 2.014 MB / 0.9379 GB, free: 1.234 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.001262/0.8031, allocations: 0.6777 MB / 0.9386 GB, free: 0.5469 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001663/0.8048, allocations: 408.2 kB / 0.939 GB, free: 144 kB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001655/0.805, allocations: 309.1 kB / 0.9393 GB, free: 15.84 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004005/0.8091, allocations: 1.43 MB / 0.9407 GB, free: 14.4 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00493/0.814, allocations: 2.013 MB / 0.9427 GB, free: 12.14 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009151/0.8232, allocations: 3.692 MB / 0.9463 GB, free: 8.211 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.456e-05/0.8233, allocations: 4 kB / 0.9463 GB, free: 8.207 MB / 0.7169 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.02136/0.8447, allocations: 5.661 MB / 0.9518 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.276e-05/0.8448, allocations: 12 kB / 0.9518 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.49e-05/0.8448, allocations: 16 kB / 0.9518 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01111/0.8559, allocations: 2.088 MB / 0.9539 GB, free: 312 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002844/0.8588, allocations: 375.4 kB / 0.9542 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3753/1.234, allocations: 38.43 MB / 0.9918 GB, free: 164 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002383/1.237, allocations: 134.1 kB / 0.9919 GB, free: 164 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001916/1.237, allocations: 90.94 kB / 0.992 GB, free: 163.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.002081/1.239, allocations: 1.499 MB / 0.9934 GB, free: 163.3 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004684/1.239, allocations: 280.7 kB / 0.9937 GB, free: 163.3 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008919/1.248, allocations: 5.214 MB / 0.9988 GB, free: 161.1 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-05/1.248, allocations: 18.12 kB / 0.9988 GB, free: 161.1 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.565e-05/1.248, allocations: 25.31 kB / 0.9988 GB, free: 161.1 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.333e-05/1.248, allocations: 11.11 kB / 0.9988 GB, free: 161.1 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01418/1.263, allocations: 9.673 MB / 1.008 GB, free: 157.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.124e-05/1.263, allocations: 3.938 kB / 1.008 GB, free: 157.1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008092/1.263, allocations: 224.3 kB / 1.009 GB, free: 157.1 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005148/1.269, allocations: 1.844 MB / 1.01 GB, free: 156.6 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001721/1.269, allocations: 38.75 kB / 1.01 GB, free: 156.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02726/1.296, allocations: 37.43 MB / 1.047 GB, free: 117.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/1.296, allocations: 7.938 kB / 1.047 GB, free: 117.7 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007774/1.304, allocations: 4.924 MB / 1.052 GB, free: 112.7 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001221/1.305, allocations: 0.616 MB / 1.052 GB, free: 112 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003987/1.306, allocations: 44 kB / 1.052 GB, free: 112 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001466/1.307, allocations: 123.8 kB / 1.052 GB, free: 111.9 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005339/1.308, allocations: 201.4 kB / 1.053 GB, free: 111.7 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001155/1.308, allocations: 56 kB / 1.053 GB, free: 111.6 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00152/1.309, allocations: 1.382 MB / 1.054 GB, free: 110.2 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/1.309, allocations: 0 / 1.054 GB, free: 110.2 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00301/1.312, allocations: 1.047 MB / 1.055 GB, free: 109.2 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.0002821/1.313, allocations: 168.9 kB / 1.055 GB, free: 109 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.008037/1.321, allocations: 6.289 MB / 1.061 GB, free: 102.5 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.147e-06/1.321, allocations: 4.188 kB / 1.061 GB, free: 102.5 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.005351/1.326, allocations: 4.391 MB / 1.066 GB, free: 97.91 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003939/1.33, allocations: 0.9971 MB / 1.067 GB, free: 96.98 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01165/1.342, allocations: 8.612 MB / 1.075 GB, free: 88.35 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002549/1.344, allocations: 3.179 MB / 1.078 GB, free: 85.14 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005896/1.345, allocations: 159.4 kB / 1.078 GB, free: 84.98 MB / 0.7325 GB Notification: Performance of SimCode: time 9.12e-07/1.345, allocations: 0 / 1.078 GB, free: 84.98 MB / 0.7325 GB Notification: Performance of Templates: time 0.6857/2.03, allocations: 465 MB / 1.532 GB, free: 96.59 MB / 0.8731 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1)