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.001093/0.001093, allocations: 98.92 kB / 16.26 MB, free: 5.934 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.001244/0.001244, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.411/1.411, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7936/0.7936, allocations: 122.9 MB / 413.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 59.89 kB / 0.4911 GB, free: 7.422 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.499/0.5002, allocations: 77.93 MB / 0.5672 GB, free: 32.74 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03563/0.5359, allocations: 30.74 MB / 0.5972 GB, free: 10.8 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02271/0.5587, allocations: 13.59 MB / 0.6105 GB, free: 14.38 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005092/0.5638, allocations: 140.6 kB / 0.6106 GB, free: 14.24 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00945/0.5734, allocations: 3.192 MB / 0.6138 GB, free: 11.05 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01204/0.5854, allocations: 2.664 MB / 0.6164 GB, free: 8.395 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008239/0.5937, allocations: 2.015 MB / 0.6183 GB, free: 6.387 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.01413/0.6078, allocations: 7.625 MB / 0.6258 GB, free: 14.74 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01477/0.6227, allocations: 8.294 MB / 0.6339 GB, free: 6.336 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007845/0.6305, allocations: 3.393 MB / 0.6372 GB, free: 2.934 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007666/0.6382, allocations: 3.387 MB / 0.6405 GB, free: 15.54 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002947/0.6412, allocations: 0.5938 MB / 0.6411 GB, free: 14.94 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006121/0.6474, allocations: 1.494 MB / 0.6425 GB, free: 13.45 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006423/0.6538, allocations: 2.37 MB / 0.6448 GB, free: 11.07 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01092/0.6648, allocations: 2.882 MB / 0.6477 GB, free: 8.176 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0215/0.6864, allocations: 9.399 MB / 0.6568 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.679e-05/0.6865, allocations: 0 / 0.6568 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.557e-06/0.6865, allocations: 0 / 0.6568 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0007128/0.6872, allocations: 0 / 0.6568 GB, free: 14.75 MB / 0.4981 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.02164/0.7089, allocations: 5.136 MB / 0.6619 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.394e-05/0.709, allocations: 12.62 kB / 0.6619 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008181/0.7172, allocations: 0.9864 MB / 0.6628 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008909/0.7261, allocations: 2.896 MB / 0.6657 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004219/0.7266, allocations: 312.8 kB / 0.666 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00225/0.7288, allocations: 432 kB / 0.6664 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02074/0.7496, allocations: 6.791 MB / 0.673 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002561/0.7499, allocations: 19.78 kB / 0.673 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001431/0.7513, allocations: 184 kB / 0.6732 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001064/0.7524, allocations: 372 kB / 0.6735 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01366/0.7661, allocations: 5.114 MB / 0.6785 GB, free: 8.039 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04784/0.814, allocations: 30.74 MB / 0.7086 GB, free: 6.531 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002576/0.8166, allocations: 1.391 MB / 0.7099 GB, free: 5.129 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002156/0.8188, allocations: 1.324 MB / 0.7112 GB, free: 3.805 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001359/0.8189, allocations: 21.3 kB / 0.7112 GB, free: 3.785 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.976e-05/0.819, allocations: 47.88 kB / 0.7113 GB, free: 3.73 MB / 0.545 GB Notification: Performance of pre-optimization done (n=130): time 3.326e-06/0.819, allocations: 4 kB / 0.7113 GB, free: 3.727 MB / 0.545 GB Notification: Performance of matching and sorting (n=199): time 0.08786/0.9069, allocations: 23.07 MB / 0.7338 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.569e-05/0.9069, allocations: 77.41 kB / 0.7339 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002915/0.9099, allocations: 2.066 MB / 0.7359 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0003166/0.9102, allocations: 57.7 kB / 0.736 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.00135/0.9116, allocations: 2.002 MB / 0.7379 GB, free: 8.273 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008149/0.9124, allocations: 0.6777 MB / 0.7386 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008049/0.9132, allocations: 408.2 kB / 0.739 GB, free: 7.18 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.922e-05/0.9133, allocations: 305.1 kB / 0.7393 GB, free: 6.879 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002105/0.9154, allocations: 1.433 MB / 0.7407 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002488/0.9179, allocations: 2.013 MB / 0.7426 GB, free: 3.176 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3394/1.257, allocations: 3.693 MB / 0.7462 GB, free: 151.6 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.997e-05/1.257, allocations: 5.531 kB / 0.7462 GB, free: 151.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01293/1.27, allocations: 5.663 MB / 0.7518 GB, free: 150 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 7.01e-05/1.27, allocations: 12.25 kB / 0.7518 GB, free: 150 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.842e-05/1.271, allocations: 17.97 kB / 0.7518 GB, free: 150 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007549/1.278, allocations: 2.093 MB / 0.7538 GB, free: 149.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001766/1.28, allocations: 378.8 kB / 0.7542 GB, free: 149.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03439/1.314, allocations: 38.46 MB / 0.7918 GB, free: 118.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003061/1.317, allocations: 125.7 kB / 0.7919 GB, free: 118.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002725/1.318, allocations: 86.97 kB / 0.792 GB, free: 118.2 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.002745/1.32, allocations: 1.514 MB / 0.7934 GB, free: 117.5 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006064/1.321, allocations: 284.6 kB / 0.7937 GB, free: 117.5 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008655/1.33, allocations: 5.209 MB / 0.7988 GB, free: 114.9 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-05/1.33, allocations: 23.55 kB / 0.7988 GB, free: 114.9 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.952e-05/1.33, allocations: 23.31 kB / 0.7988 GB, free: 114.9 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.847e-05/1.33, allocations: 11.95 kB / 0.7989 GB, free: 114.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01528/1.345, allocations: 9.675 MB / 0.8083 GB, free: 109 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.905e-05/1.345, allocations: 8.969 kB / 0.8083 GB, free: 109 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008028/1.346, allocations: 218.2 kB / 0.8085 GB, free: 108.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005031/1.351, allocations: 1.857 MB / 0.8103 GB, free: 106.9 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002197/1.351, allocations: 44 kB / 0.8104 GB, free: 106.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02634/1.378, allocations: 37.45 MB / 0.8469 GB, free: 67.06 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.275e-06/1.378, allocations: 19.98 kB / 0.847 GB, free: 67.04 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008483/1.386, allocations: 4.909 MB / 0.8518 GB, free: 61.98 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001356/1.388, allocations: 0.6146 MB / 0.8524 GB, free: 61.35 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003271/1.388, allocations: 43.94 kB / 0.8524 GB, free: 61.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001381/1.389, allocations: 132 kB / 0.8525 GB, free: 61.18 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006099/1.39, allocations: 189.6 kB / 0.8527 GB, free: 60.99 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001085/1.39, allocations: 64 kB / 0.8528 GB, free: 60.93 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00154/1.392, allocations: 1.378 MB / 0.8541 GB, free: 59.54 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9.32e-07/1.392, allocations: 0 / 0.8541 GB, free: 59.54 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003566/1.395, allocations: 1.051 MB / 0.8551 GB, free: 58.49 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.0003081/1.395, allocations: 174.8 kB / 0.8553 GB, free: 58.31 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.009907/1.405, allocations: 7.209 MB / 0.8623 GB, free: 50.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.564e-05/1.405, allocations: 4 kB / 0.8623 GB, free: 50.89 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.005947/1.411, allocations: 4.399 MB / 0.8666 GB, free: 46.28 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004545/1.416, allocations: 0.9902 MB / 0.8676 GB, free: 45.36 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01253/1.429, allocations: 8.145 MB / 0.8756 GB, free: 37.19 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002575/1.431, allocations: 3.123 MB / 0.8786 GB, free: 34.03 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00181/1.433, allocations: 0.5199 MB / 0.8791 GB, free: 33.51 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003124/1.433, allocations: 147.4 kB / 0.8793 GB, free: 33.36 MB / 0.5762 GB Notification: Performance of SimCode: time 5.81e-07/1.433, allocations: 0 / 0.8793 GB, free: 33.36 MB / 0.5762 GB Notification: Performance of Templates: time 0.09249/1.526, allocations: 59.97 MB / 0.9378 GB, free: 6.289 MB / 0.6075 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)