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.001068/0.001068, allocations: 107 kB / 17.03 MB, free: 5.699 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.0009696/0.0009696, allocations: 194.9 kB / 17.97 MB, free: 5.078 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.312/1.312, allocations: 222.9 MB / 241.7 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7028/0.7028, allocations: 115.1 MB / 406.9 MB, free: 6.367 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 63.89 kB / 494.8 MB, free: 15.88 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3416/0.3428, allocations: 76.14 MB / 0.5576 GB, free: 36.65 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03168/0.3746, allocations: 30.74 MB / 0.5876 GB, free: 15.79 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01903/0.3936, allocations: 13.59 MB / 0.6009 GB, free: 6.016 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003975/0.3976, allocations: 143.9 kB / 0.601 GB, free: 5.969 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007106/0.4048, allocations: 3.196 MB / 0.6041 GB, free: 3.496 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006898/0.4117, allocations: 2.663 MB / 0.6067 GB, free: 1.355 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005213/0.4169, allocations: 2.008 MB / 0.6087 GB, free: 15.72 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.01171/0.4287, allocations: 7.626 MB / 0.6161 GB, free: 8.5 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01026/0.439, allocations: 8.244 MB / 0.6242 GB, free: 140 kB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005624/0.4446, allocations: 3.404 MB / 0.6275 GB, free: 12.72 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005219/0.4499, allocations: 3.387 MB / 0.6308 GB, free: 9.324 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001036/0.4509, allocations: 0.5977 MB / 0.6314 GB, free: 8.727 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00328/0.4542, allocations: 1.49 MB / 0.6329 GB, free: 7.234 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002373/0.4566, allocations: 2.374 MB / 0.6352 GB, free: 4.855 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003953/0.4606, allocations: 2.875 MB / 0.638 GB, free: 1.969 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009596/0.4702, allocations: 9.473 MB / 0.6472 GB, free: 8.469 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.4702, allocations: 0 / 0.6472 GB, free: 8.469 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.4702, allocations: 0 / 0.6472 GB, free: 8.469 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0002119/0.4705, allocations: 0 / 0.6472 GB, free: 8.469 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.01011/0.4806, allocations: 5.136 MB / 0.6522 GB, free: 3.254 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.4806, allocations: 8.031 kB / 0.6523 GB, free: 3.246 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005739/0.4864, allocations: 0.998 MB / 0.6532 GB, free: 2.242 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007984/0.4944, allocations: 3.071 MB / 0.6562 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003151/0.4948, allocations: 312.8 kB / 0.6565 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001811/0.4966, allocations: 424 kB / 0.6569 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01493/0.5115, allocations: 6.795 MB / 0.6636 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001766/0.5117, allocations: 19.78 kB / 0.6636 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009736/0.5127, allocations: 180 kB / 0.6638 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008487/0.5136, allocations: 372 kB / 0.6641 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008817/0.5224, allocations: 5.114 MB / 0.6691 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0313/0.5537, allocations: 30.52 MB / 0.6989 GB, free: 296 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002066/0.5558, allocations: 1.38 MB / 0.7003 GB, free: 14.9 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001657/0.5575, allocations: 1.34 MB / 0.7016 GB, free: 13.56 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 9.454e-05/0.5576, allocations: 13.31 kB / 0.7016 GB, free: 13.55 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.907e-05/0.5577, allocations: 51.88 kB / 0.7016 GB, free: 13.49 MB / 0.545 GB Notification: Performance of pre-optimization done (n=130): time 3.557e-06/0.5577, allocations: 0 / 0.7016 GB, free: 13.49 MB / 0.545 GB Notification: Performance of matching and sorting (n=199): time 0.08056/0.6383, allocations: 23.07 MB / 0.7242 GB, free: 6.293 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.738e-05/0.6384, allocations: 73.41 kB / 0.7242 GB, free: 6.211 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002818/0.6412, allocations: 2.058 MB / 0.7262 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000247/0.6415, allocations: 57.7 kB / 0.7263 GB, free: 4.074 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001332/0.6428, allocations: 2.01 MB / 0.7283 GB, free: 2.039 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000626/0.6434, allocations: 0.6816 MB / 0.7289 GB, free: 1.348 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006903/0.6441, allocations: 416.1 kB / 0.7293 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.011e-05/0.6442, allocations: 305.1 kB / 0.7296 GB, free: 0.6328 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001912/0.6461, allocations: 1.426 MB / 0.731 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002321/0.6485, allocations: 2.017 MB / 0.733 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004639/0.6531, allocations: 3.692 MB / 0.7366 GB, free: 9 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.015e-05/0.6531, allocations: 8 kB / 0.7366 GB, free: 8.992 MB / 0.5762 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01042/0.6636, allocations: 5.657 MB / 0.7421 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.627e-05/0.6636, allocations: 12 kB / 0.7421 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.451e-05/0.6637, allocations: 16 kB / 0.7421 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006483/0.6701, allocations: 2.095 MB / 0.7442 GB, free: 1.094 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001466/0.6716, allocations: 379.3 kB / 0.7445 GB, free: 0.7227 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3471/1.019, allocations: 38.42 MB / 0.7821 GB, free: 127.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00235/1.021, allocations: 127.1 kB / 0.7822 GB, free: 127 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002022/1.021, allocations: 92.42 kB / 0.7823 GB, free: 127 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.002477/1.024, allocations: 1.512 MB / 0.7838 GB, free: 126.3 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004906/1.024, allocations: 286.8 kB / 0.784 GB, free: 126.3 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01002/1.034, allocations: 5.209 MB / 0.7891 GB, free: 124.2 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.22e-05/1.034, allocations: 19.41 kB / 0.7891 GB, free: 124.2 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.908e-05/1.034, allocations: 18.05 kB / 0.7891 GB, free: 124.2 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.722e-05/1.034, allocations: 11.3 kB / 0.7892 GB, free: 124.2 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01645/1.051, allocations: 9.681 MB / 0.7986 GB, free: 120.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.567e-05/1.051, allocations: 10.94 kB / 0.7986 GB, free: 120.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008073/1.052, allocations: 221.4 kB / 0.7988 GB, free: 120.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00539/1.057, allocations: 1.832 MB / 0.8006 GB, free: 119.6 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000147/1.057, allocations: 39.59 kB / 0.8007 GB, free: 119.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02642/1.084, allocations: 37.45 MB / 0.8372 GB, free: 86.06 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/1.084, allocations: 7.938 kB / 0.8372 GB, free: 86.05 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007442/1.091, allocations: 4.912 MB / 0.842 GB, free: 80.98 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001521/1.093, allocations: 0.6147 MB / 0.8426 GB, free: 80.35 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003473/1.093, allocations: 47.98 kB / 0.8427 GB, free: 80.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001288/1.095, allocations: 129.1 kB / 0.8428 GB, free: 80.18 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006158/1.095, allocations: 185.6 kB / 0.843 GB, free: 80 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001253/1.095, allocations: 60 kB / 0.843 GB, free: 79.94 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001649/1.097, allocations: 1.378 MB / 0.8444 GB, free: 78.55 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.9e-07/1.097, allocations: 4 kB / 0.8444 GB, free: 78.55 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003385/1.1, allocations: 1.043 MB / 0.8454 GB, free: 77.5 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.0002876/1.101, allocations: 172.7 kB / 0.8456 GB, free: 77.33 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.008141/1.109, allocations: 6.299 MB / 0.8517 GB, free: 70.82 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.307e-06/1.109, allocations: 4.062 kB / 0.8517 GB, free: 70.81 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.009001/1.118, allocations: 4.39 MB / 0.856 GB, free: 66.21 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0044/1.122, allocations: 0.9832 MB / 0.857 GB, free: 65.29 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01142/1.134, allocations: 8.049 MB / 0.8648 GB, free: 57.21 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002567/1.136, allocations: 3.123 MB / 0.8679 GB, free: 54.06 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001678/1.138, allocations: 0.512 MB / 0.8684 GB, free: 53.54 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003105/1.138, allocations: 155.4 kB / 0.8685 GB, free: 53.39 MB / 0.5762 GB Notification: Performance of SimCode: time 1.242e-06/1.138, allocations: 0 / 0.8685 GB, free: 53.39 MB / 0.5762 GB Notification: Performance of Templates: time 0.07528/1.214, allocations: 57.71 MB / 0.9249 GB, free: 12.58 MB / 0.5919 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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1)