Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.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.001238/0.001238, allocations: 109.8 kB / 16.41 MB, free: 6.492 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.001094/0.001094, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.326/1.326, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.772/0.772, allocations: 122.9 MB / 414.1 MB, free: 15.79 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 62.53 kB / 0.5685 GB, free: 28.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1483, allocations: 77.94 MB / 0.6446 GB, free: 8.969 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03598/0.1843, allocations: 32.57 MB / 0.6764 GB, free: 8.297 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01923/0.2036, allocations: 10.27 MB / 0.6865 GB, free: 14 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003675/0.2073, allocations: 151.2 kB / 0.6866 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.009792/0.2172, allocations: 3.72 MB / 0.6902 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.005525/0.2227, allocations: 1.854 MB / 0.692 GB, free: 8.262 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.005677/0.2284, allocations: 2.137 MB / 0.6941 GB, free: 6.125 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.008581/0.237, allocations: 7.329 MB / 0.7013 GB, free: 14.78 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01231/0.2494, allocations: 9.424 MB / 0.7105 GB, free: 5.227 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005035/0.2544, allocations: 3.17 MB / 0.7136 GB, free: 2.047 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006191/0.2606, allocations: 3.485 MB / 0.717 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.002943/0.2636, allocations: 0.6445 MB / 0.7176 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006165/0.2698, allocations: 1.775 MB / 0.7194 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.005013/0.2748, allocations: 2.542 MB / 0.7218 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.006757/0.2816, allocations: 2.898 MB / 0.7247 GB, free: 6.672 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01475/0.2964, allocations: 10.14 MB / 0.7346 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.2964, allocations: 0 / 0.7346 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.663e-06/0.2964, allocations: 0 / 0.7346 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0002684/0.2967, allocations: 0 / 0.7346 GB, free: 12.5 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01003/0.3068, allocations: 5.127 MB / 0.7396 GB, free: 7.297 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.3068, allocations: 12.62 kB / 0.7396 GB, free: 7.285 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00512/0.3119, allocations: 0.9735 MB / 0.7405 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004784/0.3167, allocations: 3.063 MB / 0.7435 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002241/0.317, allocations: 349.7 kB / 0.7439 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006769/0.3177, allocations: 456.3 kB / 0.7443 GB, free: 2.398 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3446/0.6623, allocations: 7.665 MB / 0.7518 GB, free: 86.33 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001898/0.6625, allocations: 29.27 kB / 0.7518 GB, free: 86.32 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006007/0.6631, allocations: 201.5 kB / 0.752 GB, free: 86.18 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004636/0.6636, allocations: 312.5 kB / 0.7523 GB, free: 86.14 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01318/0.6768, allocations: 5.71 MB / 0.7579 GB, free: 84.15 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03524/0.7121, allocations: 34.89 MB / 0.7919 GB, free: 53.43 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00263/0.7147, allocations: 2.163 MB / 0.7941 GB, free: 51.96 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001386/0.7161, allocations: 1.255 MB / 0.7953 GB, free: 51.29 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.83e-05/0.7163, allocations: 20.67 kB / 0.7953 GB, free: 51.29 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.34e-05/0.7163, allocations: 51.77 kB / 0.7953 GB, free: 51.24 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=133): time 2.865e-06/0.7163, allocations: 0 / 0.7953 GB, free: 51.24 MB / 0.5762 GB Notification: Performance of matching and sorting (n=136): time 0.01286/0.7292, allocations: 7.145 MB / 0.8023 GB, free: 46.71 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.176e-05/0.7292, allocations: 66.72 kB / 0.8024 GB, free: 46.65 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002031/0.7313, allocations: 1.486 MB / 0.8038 GB, free: 45.81 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001056/0.7314, allocations: 49.05 kB / 0.8039 GB, free: 45.76 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009355/0.7323, allocations: 2.064 MB / 0.8059 GB, free: 44.19 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003958/0.7327, allocations: 0.5003 MB / 0.8064 GB, free: 43.76 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004942/0.7332, allocations: 352.8 kB / 0.8067 GB, free: 43.56 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.945e-05/0.7333, allocations: 313.1 kB / 0.807 GB, free: 43.25 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001107/0.7344, allocations: 0.9124 MB / 0.8079 GB, free: 42.61 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001319/0.7357, allocations: 1.589 MB / 0.8095 GB, free: 40.71 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002522/0.7383, allocations: 2.739 MB / 0.8121 GB, free: 37.66 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.444e-05/0.7383, allocations: 4 kB / 0.8121 GB, free: 37.66 MB / 0.5762 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.005194/0.7435, allocations: 3.547 MB / 0.8156 GB, free: 34.07 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/0.7435, allocations: 12 kB / 0.8156 GB, free: 34.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.189e-05/0.7435, allocations: 24 kB / 0.8156 GB, free: 34.03 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002267/0.7458, allocations: 0.8999 MB / 0.8165 GB, free: 33.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001074/0.7469, allocations: 351.4 kB / 0.8169 GB, free: 32.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01496/0.7619, allocations: 23.11 MB / 0.8394 GB, free: 7.988 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001614/0.7635, allocations: 99.95 kB / 0.8395 GB, free: 7.891 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000242/0.7638, allocations: 84 kB / 0.8396 GB, free: 7.809 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (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.002269/0.7661, allocations: 1.614 MB / 0.8412 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004422/0.7665, allocations: 214.7 kB / 0.8414 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004514/0.771, allocations: 2.994 MB / 0.8443 GB, free: 2.934 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.809e-06/0.7711, allocations: 12 kB / 0.8443 GB, free: 2.922 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.112e-05/0.7711, allocations: 12 kB / 0.8443 GB, free: 2.91 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.079e-05/0.7711, allocations: 10.12 kB / 0.8443 GB, free: 2.902 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01313/0.7843, allocations: 7.335 MB / 0.8515 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-05/0.7843, allocations: 4 kB / 0.8515 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007846/0.7851, allocations: 187.7 kB / 0.8517 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002346/0.7874, allocations: 0.8259 MB / 0.8525 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001054/0.7876, allocations: 24 kB / 0.8525 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02086/0.8084, allocations: 21.97 MB / 0.874 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.039e-05/0.8085, allocations: 4 kB / 0.874 GB, free: 2.648 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008239/0.8167, allocations: 3.034 MB / 0.8769 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001553/0.8183, allocations: 463.6 kB / 0.8774 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006131/0.819, allocations: 35.95 kB / 0.8774 GB, free: 14.99 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001626/0.8206, allocations: 75.91 kB / 0.8775 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005137/0.8211, allocations: 124.7 kB / 0.8776 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000141/0.8213, allocations: 40 kB / 0.8776 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.002235/0.8235, allocations: 0.9756 MB / 0.8786 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2e-07/0.8236, allocations: 0 / 0.8786 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.004432/0.828, allocations: 0.7891 MB / 0.8794 GB, free: 12.96 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003382/0.8283, allocations: 147.3 kB / 0.8795 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.008156/0.8365, allocations: 4.035 MB / 0.8834 GB, free: 8.629 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/0.8366, allocations: 0 / 0.8834 GB, free: 8.629 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.005206/0.8418, allocations: 2.74 MB / 0.8861 GB, free: 5.734 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005539/0.8473, allocations: 0.7275 MB / 0.8868 GB, free: 5.039 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01734/0.8647, allocations: 7.227 MB / 0.8939 GB, free: 13.72 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004357/0.8691, allocations: 3.113 MB / 0.8969 GB, free: 10.58 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001451/0.8706, allocations: 450 kB / 0.8974 GB, free: 10.14 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003649/0.8709, allocations: 119.4 kB / 0.8975 GB, free: 10.02 MB / 0.6387 GB Notification: Performance of SimCode: time 7.61e-07/0.871, allocations: 0 / 0.8975 GB, free: 10.02 MB / 0.6387 GB Notification: Performance of Templates: time 0.06198/0.9329, allocations: 36.24 MB / 0.9329 GB, free: 6.219 MB / 0.67 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1)