Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0008366/0.0008365, allocations: 88.55 kB / 16.67 MB, free: 6.594 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.0008908/0.0008908, allocations: 184 kB / 17.58 MB, free: 6.188 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.38/1.38, allocations: 223.3 MB / 241.6 MB, free: 204 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7153/0.7153, allocations: 115.5 MB / 408.2 MB, free: 7.086 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003842/0.0003842, allocations: 12 kB / 496.5 MB, free: 15.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3729/0.3733, allocations: 77.52 MB / 0.5606 GB, free: 36.25 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.02707/0.4004, allocations: 29.69 MB / 0.5896 GB, free: 15.88 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01891/0.4193, allocations: 13.4 MB / 0.6027 GB, free: 6.34 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003265/0.4226, allocations: 124 kB / 0.6028 GB, free: 6.293 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001893/0.4246, allocations: 0.6598 MB / 0.6034 GB, free: 5.719 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007712/0.4323, allocations: 2.464 MB / 0.6059 GB, free: 3.773 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005041/0.4374, allocations: 1.708 MB / 0.6075 GB, free: 2.406 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01276/0.4501, allocations: 10.43 MB / 0.6177 GB, free: 8.777 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01731/0.4675, allocations: 10.21 MB / 0.6277 GB, free: 14.48 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006087/0.4736, allocations: 2.576 MB / 0.6302 GB, free: 11.89 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006417/0.4801, allocations: 2.946 MB / 0.6331 GB, free: 8.934 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001406/0.4815, allocations: 244 kB / 0.6333 GB, free: 8.695 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004095/0.4856, allocations: 1.384 MB / 0.6347 GB, free: 7.309 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003351/0.489, allocations: 1.921 MB / 0.6365 GB, free: 5.383 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005369/0.4944, allocations: 2.38 MB / 0.6389 GB, free: 2.984 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00988/0.5043, allocations: 7.769 MB / 0.6464 GB, free: 11.2 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.5043, allocations: 0 / 0.6464 GB, free: 11.2 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.707e-06/0.5044, allocations: 0 / 0.6464 GB, free: 11.2 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0003679/0.5047, allocations: 0 / 0.6464 GB, free: 11.2 MB / 494.1 MB 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.01094/0.5157, allocations: 4.158 MB / 0.6505 GB, free: 6.961 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.5157, allocations: 11.97 kB / 0.6505 GB, free: 6.949 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006806/0.5226, allocations: 1.006 MB / 0.6515 GB, free: 5.938 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006372/0.529, allocations: 2.888 MB / 0.6543 GB, free: 2.969 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00032/0.5293, allocations: 320.8 kB / 0.6546 GB, free: 2.652 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001443/0.5308, allocations: 420 kB / 0.655 GB, free: 2.242 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01585/0.5466, allocations: 6.791 MB / 0.6617 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002342/0.5469, allocations: 23.83 kB / 0.6617 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001188/0.5481, allocations: 188 kB / 0.6619 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001022/0.5491, allocations: 368 kB / 0.6622 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01106/0.5602, allocations: 5.118 MB / 0.6672 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03883/0.5991, allocations: 30.78 MB / 0.6973 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002724/0.6019, allocations: 1.387 MB / 0.6986 GB, free: 2.5 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00214/0.604, allocations: 1.339 MB / 0.6999 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001322/0.6042, allocations: 13.31 kB / 0.6999 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.975e-05/0.6043, allocations: 51.88 kB / 0.7 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=130): time 3.547e-06/0.6043, allocations: 0 / 0.7 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of matching and sorting (n=199): time 0.09123/0.6955, allocations: 22.8 MB / 0.7223 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.67e-05/0.6956, allocations: 73.41 kB / 0.7223 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003432/0.699, allocations: 2.058 MB / 0.7243 GB, free: 8.012 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003468/0.6994, allocations: 61.7 kB / 0.7244 GB, free: 7.945 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001411/0.7008, allocations: 2.01 MB / 0.7264 GB, free: 5.91 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008094/0.7016, allocations: 0.6816 MB / 0.727 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004027/0.7021, allocations: 178.3 kB / 0.7272 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.268e-05/0.7022, allocations: 313 kB / 0.7275 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002287/0.7044, allocations: 1.433 MB / 0.7289 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002813/0.7073, allocations: 2.006 MB / 0.7308 GB, free: 1.035 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005336/0.7126, allocations: 3.7 MB / 0.7345 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.109e-05/0.7127, allocations: 4 kB / 0.7345 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01187/0.7246, allocations: 5.657 MB / 0.74 GB, free: 7.363 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.998e-05/0.7247, allocations: 12.97 kB / 0.74 GB, free: 7.352 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.451e-05/0.7247, allocations: 20 kB / 0.74 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00702/0.7317, allocations: 2.083 MB / 0.7421 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001596/0.7334, allocations: 379.3 kB / 0.7424 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.337/1.07, allocations: 35.54 MB / 0.7771 GB, free: 131.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002548/1.073, allocations: 126.4 kB / 0.7772 GB, free: 131.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002427/1.073, allocations: 93.27 kB / 0.7773 GB, free: 131.7 MB / 0.5762 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.002873/1.076, allocations: 1.51 MB / 0.7788 GB, free: 131 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008508/1.077, allocations: 282 kB / 0.7791 GB, free: 131 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0115/1.088, allocations: 5.212 MB / 0.7842 GB, free: 128.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.28e-05/1.089, allocations: 20.28 kB / 0.7842 GB, free: 128.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-05/1.089, allocations: 21.22 kB / 0.7842 GB, free: 128.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-05/1.089, allocations: 10.17 kB / 0.7842 GB, free: 128.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01756/1.106, allocations: 9.68 MB / 0.7937 GB, free: 124.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-05/1.106, allocations: 7.219 kB / 0.7937 GB, free: 124.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000906/1.107, allocations: 220 kB / 0.7939 GB, free: 124.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005724/1.113, allocations: 1.843 MB / 0.7957 GB, free: 124.3 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002517/1.113, allocations: 38.84 kB / 0.7957 GB, free: 124.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02657/1.14, allocations: 34.55 MB / 0.8295 GB, free: 94.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.531e-06/1.14, allocations: 11.94 kB / 0.8295 GB, free: 94.59 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007842/1.148, allocations: 4.913 MB / 0.8343 GB, free: 89.54 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001467/1.149, allocations: 0.6186 MB / 0.8349 GB, free: 88.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004595/1.15, allocations: 43.94 kB / 0.8349 GB, free: 88.85 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001634/1.151, allocations: 127.8 kB / 0.835 GB, free: 88.73 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006487/1.152, allocations: 189.7 kB / 0.8352 GB, free: 88.54 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001299/1.152, allocations: 59 kB / 0.8353 GB, free: 88.49 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001678/1.154, allocations: 1.378 MB / 0.8366 GB, free: 87.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/1.154, allocations: 4 kB / 0.8366 GB, free: 87.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003518/1.157, allocations: 1.051 MB / 0.8377 GB, free: 86.05 MB / 0.5762 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.0002871/1.158, allocations: 166.8 kB / 0.8378 GB, free: 85.88 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.008232/1.166, allocations: 6.272 MB / 0.8439 GB, free: 79.39 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.375e-05/1.166, allocations: 4 kB / 0.8439 GB, free: 79.39 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.005635/1.172, allocations: 4.406 MB / 0.8482 GB, free: 74.77 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006376/1.178, allocations: 0.9184 MB / 0.8491 GB, free: 73.88 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01284/1.191, allocations: 10.62 MB / 0.8595 GB, free: 63.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002901/1.194, allocations: 3.178 MB / 0.8626 GB, free: 59.98 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006709/1.195, allocations: 171.4 kB / 0.8628 GB, free: 59.82 MB / 0.5762 GB Notification: Performance of SimCode: time 9.72e-07/1.195, allocations: 0 / 0.8628 GB, free: 59.82 MB / 0.5762 GB Notification: Performance of Templates: time 0.9149/2.109, allocations: 464.1 MB / 1.316 GB, free: 173.6 MB / 0.67 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1)