Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001614/0.001614, allocations: 119.1 kB / 17.09 MB, free: 5.992 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.001793/0.001793, allocations: 192.7 kB / 18.02 MB, free: 5.074 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.36/1.36, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7559/0.7559, allocations: 115.3 MB / 407.2 MB, free: 6.223 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 63.73 kB / 0.5583 GB, free: 32.33 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1518, allocations: 76.18 MB / 0.6327 GB, free: 4.41 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01588/0.1677, allocations: 14.03 MB / 0.6464 GB, free: 6.324 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01553/0.1833, allocations: 9.384 MB / 0.6556 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002605/0.1859, allocations: 59.62 kB / 0.6557 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.006207/0.1922, allocations: 1.669 MB / 0.6573 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.007914/0.2002, allocations: 1.546 MB / 0.6588 GB, free: 9.633 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003291/0.2035, allocations: 0.7545 MB / 0.6595 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00588/0.2094, allocations: 2.524 MB / 0.662 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003692/0.2131, allocations: 1.411 MB / 0.6634 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00278/0.2159, allocations: 1.071 MB / 0.6644 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003157/0.2191, allocations: 1.144 MB / 0.6655 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0007152/0.2198, allocations: 164 kB / 0.6657 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00281/0.2226, allocations: 0.7877 MB / 0.6665 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001348/0.224, allocations: 0.6232 MB / 0.6671 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.002565/0.2266, allocations: 0.9406 MB / 0.668 GB, free: 164 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.006317/0.2329, allocations: 2.753 MB / 0.6707 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 1.102e-05/0.233, allocations: 3.984 kB / 0.6707 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.984e-06/0.233, allocations: 0 / 0.6707 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001209/0.2331, allocations: 0 / 0.6707 GB, free: 13.39 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.006797/0.2399, allocations: 2.139 MB / 0.6728 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.24, allocations: 8.031 kB / 0.6728 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01191/0.2519, allocations: 2.085 MB / 0.6748 GB, free: 9.102 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003486/0.2554, allocations: 1.298 MB / 0.6761 GB, free: 7.746 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001095/0.2556, allocations: 82.73 kB / 0.6762 GB, free: 7.664 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005746/0.2562, allocations: 128 kB / 0.6763 GB, free: 7.539 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007194/0.2634, allocations: 2.671 MB / 0.6789 GB, free: 4.719 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.434e-05/0.2635, allocations: 15.92 kB / 0.6789 GB, free: 4.703 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00031/0.2638, allocations: 47.98 kB / 0.679 GB, free: 4.656 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007005/0.2645, allocations: 186.1 kB / 0.6791 GB, free: 4.473 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008127/0.2726, allocations: 2.799 MB / 0.6819 GB, free: 1.664 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01674/0.2894, allocations: 10.46 MB / 0.6921 GB, free: 6.609 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00715/0.2966, allocations: 2.542 MB / 0.6946 GB, free: 4 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003271/0.2999, allocations: 1.28 MB / 0.6958 GB, free: 2.719 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 8.066e-05/0.3, allocations: 12.98 kB / 0.6958 GB, free: 2.707 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.396e-05/0.3, allocations: 43.5 kB / 0.6959 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=89): time 2.976e-06/0.3001, allocations: 3.938 kB / 0.6959 GB, free: 2.648 MB / 0.5294 GB Notification: Performance of matching and sorting (n=131): time 0.04808/0.3481, allocations: 13.35 MB / 0.7089 GB, free: 5.086 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.51e-05/0.3482, allocations: 72.7 kB / 0.709 GB, free: 5.004 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001858/0.3501, allocations: 1.117 MB / 0.7101 GB, free: 3.871 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.000215/0.3503, allocations: 45.7 kB / 0.7101 GB, free: 3.82 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006076/0.3509, allocations: 0.7156 MB / 0.7108 GB, free: 3.098 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005313/0.3515, allocations: 457.3 kB / 0.7112 GB, free: 2.645 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005925/0.3521, allocations: 263.4 kB / 0.7115 GB, free: 2.379 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001636/0.3523, allocations: 357.9 kB / 0.7118 GB, free: 2.023 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003414/0.3557, allocations: 1.343 MB / 0.7132 GB, free: 0.6797 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003622/0.3593, allocations: 1.608 MB / 0.7147 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006998/0.3663, allocations: 2.987 MB / 0.7176 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.536e-06/0.3664, allocations: 4 kB / 0.7176 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01173/0.3781, allocations: 4.435 MB / 0.722 GB, free: 7.398 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.033e-05/0.3782, allocations: 11.98 kB / 0.722 GB, free: 7.387 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.588e-05/0.3782, allocations: 8 kB / 0.722 GB, free: 7.379 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005277/0.3835, allocations: 1.427 MB / 0.7234 GB, free: 5.91 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00216/0.3857, allocations: 443.2 kB / 0.7238 GB, free: 5.477 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02741/0.4131, allocations: 26.67 MB / 0.7499 GB, free: 8.969 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002844/0.416, allocations: 307.6 kB / 0.7502 GB, free: 8.668 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003511/0.4163, allocations: 67.91 kB / 0.7502 GB, free: 8.602 MB / 0.5919 GB 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001098/0.4175, allocations: 437.1 kB / 0.7506 GB, free: 8.168 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005188/0.418, allocations: 162.1 kB / 0.7508 GB, free: 8.008 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01191/0.4299, allocations: 4.461 MB / 0.7551 GB, free: 3.492 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.601e-05/0.43, allocations: 12 kB / 0.7552 GB, free: 3.48 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.834e-05/0.43, allocations: 12 kB / 0.7552 GB, free: 3.469 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.98e-05/0.43, allocations: 8.156 kB / 0.7552 GB, free: 3.461 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3212/0.7512, allocations: 6.768 MB / 0.7618 GB, free: 115.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-05/0.7513, allocations: 8.984 kB / 0.7618 GB, free: 115.1 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002026/0.7533, allocations: 375 kB / 0.7621 GB, free: 115.1 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004804/0.7581, allocations: 1.308 MB / 0.7634 GB, free: 115 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002121/0.7583, allocations: 44.78 kB / 0.7635 GB, free: 115 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02283/0.7812, allocations: 25.49 MB / 0.7884 GB, free: 94.78 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/0.7812, allocations: 2.719 kB / 0.7884 GB, free: 94.78 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01032/0.7916, allocations: 4.207 MB / 0.7925 GB, free: 93.38 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009103/0.7925, allocations: 461.1 kB / 0.7929 GB, free: 93.19 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002742/0.7928, allocations: 28.03 kB / 0.7929 GB, free: 93.17 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002094/0.7949, allocations: 303.3 kB / 0.7932 GB, free: 93.15 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005101/0.7954, allocations: 128.8 kB / 0.7933 GB, free: 93.12 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001228/0.7955, allocations: 47.45 kB / 0.7934 GB, free: 93.12 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0009501/0.7965, allocations: 0.7517 MB / 0.7941 GB, free: 92.82 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7965, allocations: 0 / 0.7941 GB, free: 92.82 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002056/0.7986, allocations: 0.5758 MB / 0.7947 GB, free: 92.76 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002928/0.7989, allocations: 142 kB / 0.7948 GB, free: 92.65 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.009572/0.8085, allocations: 5.124 MB / 0.7998 GB, free: 90.12 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.594e-06/0.8085, allocations: 3.969 kB / 0.7998 GB, free: 90.12 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.005953/0.8145, allocations: 3.494 MB / 0.8032 GB, free: 87.71 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002232/0.8167, allocations: 0.5525 MB / 0.8038 GB, free: 87.46 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007527/0.8243, allocations: 4.094 MB / 0.8078 GB, free: 85.12 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008072/0.8251, allocations: 1.484 MB / 0.8092 GB, free: 83.61 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005803/0.8257, allocations: 135.3 kB / 0.8094 GB, free: 83.47 MB / 0.5919 GB Notification: Performance of SimCode: time 6.11e-07/0.8257, allocations: 0 / 0.8094 GB, free: 83.47 MB / 0.5919 GB Notification: Performance of Templates: time 0.08482/0.9105, allocations: 112.6 MB / 0.9194 GB, free: 2.879 MB / 0.6231 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1)