Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009983/0.0009982, allocations: 105.2 kB / 16.27 MB, free: 5.953 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.001126/0.001126, allocations: 185.9 kB / 17.19 MB, free: 5.59 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.398/1.398, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8364/0.8364, allocations: 122.9 MB / 413.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 63.91 kB / 0.4911 GB, free: 7.422 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4663/0.4676, allocations: 77.92 MB / 0.5672 GB, free: 32.73 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.008596/0.4763, allocations: 6.136 MB / 0.5732 GB, free: 28.59 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006913/0.4833, allocations: 3.166 MB / 0.5763 GB, free: 26.46 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001155/0.4845, allocations: 29.91 kB / 0.5763 GB, free: 26.45 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00255/0.4871, allocations: 0.9368 MB / 0.5772 GB, free: 25.89 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001801/0.4889, allocations: 471.8 kB / 0.5777 GB, free: 25.62 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001943/0.4909, allocations: 0.5043 MB / 0.5782 GB, free: 25.38 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001817/0.4927, allocations: 1.096 MB / 0.5792 GB, free: 24.89 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001086/0.4938, allocations: 0.6422 MB / 0.5799 GB, free: 24.64 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007743/0.4946, allocations: 433.7 kB / 0.5803 GB, free: 24.45 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006302/0.4952, allocations: 470.1 kB / 0.5807 GB, free: 24.25 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001034/0.4953, allocations: 57.59 kB / 0.5808 GB, free: 24.25 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001193/0.4965, allocations: 495.1 kB / 0.5813 GB, free: 24.08 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003062/0.4969, allocations: 282.4 kB / 0.5815 GB, free: 23.91 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003872/0.4973, allocations: 408.8 kB / 0.5819 GB, free: 23.64 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001444/0.4987, allocations: 1.163 MB / 0.5831 GB, free: 22.85 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.175e-06/0.4987, allocations: 7.281 kB / 0.5831 GB, free: 22.85 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.4987, allocations: 3.938 kB / 0.5831 GB, free: 22.84 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.147e-05/0.4988, allocations: 0 / 0.5831 GB, free: 22.84 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001535/0.5003, allocations: 1.06 MB / 0.5841 GB, free: 21.99 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/0.5004, allocations: 10.53 kB / 0.5841 GB, free: 21.99 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001522/0.5019, allocations: 219.1 kB / 0.5843 GB, free: 21.89 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007065/0.5026, allocations: 0.5425 MB / 0.5849 GB, free: 21.44 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.761e-05/0.5026, allocations: 43.62 kB / 0.5849 GB, free: 21.43 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001121/0.5028, allocations: 68.89 kB / 0.585 GB, free: 21.4 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00142/0.5042, allocations: 1.038 MB / 0.586 GB, free: 20.64 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.986e-05/0.5042, allocations: 11.55 kB / 0.586 GB, free: 20.63 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.676e-05/0.5043, allocations: 24.41 kB / 0.586 GB, free: 20.61 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001246/0.5045, allocations: 70.73 kB / 0.5861 GB, free: 20.59 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001076/0.5055, allocations: 0.6916 MB / 0.5867 GB, free: 20.25 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00426/0.5098, allocations: 5.754 MB / 0.5924 GB, free: 14.88 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008022/0.5106, allocations: 0.6091 MB / 0.593 GB, free: 14.44 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007516/0.5114, allocations: 418.7 kB / 0.5934 GB, free: 14.24 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.83e-05/0.5115, allocations: 8.656 kB / 0.5934 GB, free: 14.24 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.727e-05/0.5115, allocations: 31.75 kB / 0.5934 GB, free: 14.2 MB / 446.1 MB Notification: Performance of pre-optimization done (n=41): time 2.675e-06/0.5115, allocations: 0 / 0.5934 GB, free: 14.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=42): time 0.004414/0.5159, allocations: 2.06 MB / 0.5954 GB, free: 12.85 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.936e-05/0.516, allocations: 55.78 kB / 0.5955 GB, free: 12.79 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004984/0.5165, allocations: 467.5 kB / 0.5959 GB, free: 12.51 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.015e-05/0.5165, allocations: 34.98 kB / 0.5959 GB, free: 12.47 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001949/0.5167, allocations: 389 kB / 0.5963 GB, free: 12.12 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001092/0.5168, allocations: 153.7 kB / 0.5965 GB, free: 11.99 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001562/0.517, allocations: 109 kB / 0.5966 GB, free: 11.92 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.013e-05/0.5171, allocations: 363 kB / 0.5969 GB, free: 11.57 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000301/0.5174, allocations: 251.1 kB / 0.5972 GB, free: 11.36 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003748/0.5178, allocations: 457 kB / 0.5976 GB, free: 10.82 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006722/0.5184, allocations: 0.7519 MB / 0.5983 GB, free: 9.969 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.5184, allocations: 0 / 0.5983 GB, free: 9.969 MB / 446.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001481/0.5199, allocations: 1.062 MB / 0.5994 GB, free: 8.887 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.52, allocations: 8.125 kB / 0.5994 GB, free: 8.879 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.52, allocations: 12 kB / 0.5994 GB, free: 8.867 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000881/0.5209, allocations: 331 kB / 0.5997 GB, free: 8.531 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002741/0.5212, allocations: 103.8 kB / 0.5998 GB, free: 8.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00493/0.5261, allocations: 7.528 MB / 0.6071 GB, free: 344 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004898/0.5266, allocations: 32.02 kB / 0.6072 GB, free: 312 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.266e-05/0.5266, allocations: 24 kB / 0.6072 GB, free: 288 kB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003172/0.527, allocations: 242.5 kB / 0.6074 GB, free: 36 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/0.5271, allocations: 63.45 kB / 0.6075 GB, free: 15.97 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001636/0.5287, allocations: 0.9156 MB / 0.6084 GB, free: 15.03 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.5287, allocations: 4 kB / 0.6084 GB, free: 15.02 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.5288, allocations: 4 kB / 0.6084 GB, free: 15.02 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.5288, allocations: 3.938 kB / 0.6084 GB, free: 15.02 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002662/0.5314, allocations: 1.714 MB / 0.6101 GB, free: 13.21 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.5314, allocations: 0 / 0.6101 GB, free: 13.21 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001661/0.5316, allocations: 43.91 kB / 0.6101 GB, free: 13.17 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009095/0.5325, allocations: 331.5 kB / 0.6104 GB, free: 12.84 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.991e-05/0.5326, allocations: 8 kB / 0.6104 GB, free: 12.83 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007833/0.5404, allocations: 7.513 MB / 0.6178 GB, free: 4.754 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.5405, allocations: 4 kB / 0.6178 GB, free: 4.75 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001889/0.5424, allocations: 0.9991 MB / 0.6188 GB, free: 3.703 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003/0.5427, allocations: 180.3 kB / 0.6189 GB, free: 3.508 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.581e-05/0.5427, allocations: 11.98 kB / 0.6189 GB, free: 3.496 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002776/0.543, allocations: 19.98 kB / 0.619 GB, free: 3.477 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/0.5432, allocations: 39.88 kB / 0.619 GB, free: 3.438 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.917e-05/0.5432, allocations: 20 kB / 0.619 GB, free: 3.418 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004383/0.5436, allocations: 306.9 kB / 0.6193 GB, free: 3.121 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5436, allocations: 0 / 0.6193 GB, free: 3.121 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008863/0.5445, allocations: 199.9 kB / 0.6195 GB, free: 2.926 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,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.0001614/0.5447, allocations: 115.2 kB / 0.6196 GB, free: 2.801 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002176/0.5469, allocations: 1.254 MB / 0.6208 GB, free: 1.496 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.5469, allocations: 288 / 0.6208 GB, free: 1.496 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001271/0.5482, allocations: 0.8621 MB / 0.6217 GB, free: 0.582 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009818/0.5492, allocations: 203.7 kB / 0.6219 GB, free: 400 kB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002132/0.5513, allocations: 1.253 MB / 0.6231 GB, free: 15.09 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006086/0.5519, allocations: 0.9921 MB / 0.6241 GB, free: 14.07 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0002957/0.5522, allocations: 97.3 kB / 0.6241 GB, free: 13.98 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.323e-05/0.5523, allocations: 35.44 kB / 0.6242 GB, free: 13.94 MB / 478.1 MB Notification: Performance of SimCode: time 1.282e-06/0.5523, allocations: 0 / 0.6242 GB, free: 13.94 MB / 478.1 MB Notification: Performance of Templates: time 0.01915/0.5715, allocations: 9.967 MB / 0.6339 GB, free: 4.102 MB / 478.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1)