Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.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.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008276/0.0008276, allocations: 88.83 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.00088/0.0008801, allocations: 180 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.318/1.318, allocations: 223.3 MB / 241.6 MB, free: 14.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6963/0.6963, allocations: 115.5 MB / 408.2 MB, free: 7.148 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003332/0.000333, allocations: 12 kB / 496.5 MB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3722/0.3726, allocations: 77.52 MB / 0.5606 GB, free: 35.42 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02094/0.3936, allocations: 22.57 MB / 0.5826 GB, free: 19.86 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01158/0.4052, allocations: 6.441 MB / 0.5889 GB, free: 15.42 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002882/0.4081, allocations: 83.03 kB / 0.589 GB, free: 15.39 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001699/0.4099, allocations: 472.1 kB / 0.5894 GB, free: 15.13 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005326/0.4152, allocations: 1.739 MB / 0.5911 GB, free: 14.19 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003622/0.4189, allocations: 1.193 MB / 0.5923 GB, free: 13.51 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01156/0.4304, allocations: 10.62 MB / 0.6027 GB, free: 8.184 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01041/0.4409, allocations: 8.06 MB / 0.6106 GB, free: 128 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004891/0.4458, allocations: 2.07 MB / 0.6126 GB, free: 14.04 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005969/0.4518, allocations: 3.189 MB / 0.6157 GB, free: 10.84 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001126/0.453, allocations: 244 kB / 0.6159 GB, free: 10.6 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003218/0.4562, allocations: 1.061 MB / 0.617 GB, free: 9.543 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002743/0.459, allocations: 2.108 MB / 0.619 GB, free: 7.43 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003418/0.4624, allocations: 2.135 MB / 0.6211 GB, free: 5.277 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007809/0.4702, allocations: 7.04 MB / 0.628 GB, free: 14.22 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.4703, allocations: 0 / 0.628 GB, free: 14.22 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.4703, allocations: 0 / 0.628 GB, free: 14.22 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0002243/0.4705, allocations: 0 / 0.628 GB, free: 14.22 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.00794/0.4785, allocations: 3.562 MB / 0.6315 GB, free: 10.59 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.4785, allocations: 16.03 kB / 0.6315 GB, free: 10.57 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009043/0.4876, allocations: 1.681 MB / 0.6331 GB, free: 8.887 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005042/0.4927, allocations: 2.567 MB / 0.6356 GB, free: 6.266 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002381/0.4929, allocations: 279.7 kB / 0.6359 GB, free: 5.992 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001145/0.4941, allocations: 364.2 kB / 0.6362 GB, free: 5.637 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01558/0.5097, allocations: 7.491 MB / 0.6435 GB, free: 13.88 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001134/0.5098, allocations: 11.88 kB / 0.6436 GB, free: 13.87 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006623/0.5105, allocations: 163.9 kB / 0.6437 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005831/0.5111, allocations: 483.3 kB / 0.6442 GB, free: 13.23 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01116/0.5223, allocations: 5.701 MB / 0.6497 GB, free: 7.527 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03979/0.5621, allocations: 31.68 MB / 0.6807 GB, free: 5.07 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003229/0.5654, allocations: 2.09 MB / 0.6827 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003285/0.5687, allocations: 2.174 MB / 0.6848 GB, free: 0.793 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000222/0.5689, allocations: 17.25 kB / 0.6849 GB, free: 0.7734 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.435e-05/0.569, allocations: 55.86 kB / 0.6849 GB, free: 0.7109 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=146): time 4.298e-06/0.569, allocations: 0 / 0.6849 GB, free: 0.7109 MB / 0.5137 GB Notification: Performance of matching and sorting (n=251): time 0.6029/1.172, allocations: 75.27 MB / 0.7584 GB, free: 157.8 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.803e-05/1.172, allocations: 76.97 kB / 0.7585 GB, free: 157.8 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002398/1.174, allocations: 1.665 MB / 0.7601 GB, free: 157.2 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0004554/1.175, allocations: 67.55 kB / 0.7602 GB, free: 157.1 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000928/1.176, allocations: 1.748 MB / 0.7619 GB, free: 156.4 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007989/1.177, allocations: 0.8539 MB / 0.7627 GB, free: 155.7 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004371/1.177, allocations: 204.3 kB / 0.7629 GB, free: 155.6 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.139e-05/1.177, allocations: 306.2 kB / 0.7632 GB, free: 155.3 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00378/1.181, allocations: 2.728 MB / 0.7659 GB, free: 154.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004106/1.185, allocations: 3.332 MB / 0.7691 GB, free: 152.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00817/1.193, allocations: 6.392 MB / 0.7754 GB, free: 149.7 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.519e-05/1.193, allocations: 6.469 kB / 0.7754 GB, free: 149.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03229/1.226, allocations: 14.68 MB / 0.7897 GB, free: 141.3 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.747e-05/1.226, allocations: 11.28 kB / 0.7897 GB, free: 141.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.868e-05/1.226, allocations: 19.81 kB / 0.7897 GB, free: 141.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02875/1.254, allocations: 9.242 MB / 0.7988 GB, free: 135.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001152/1.256, allocations: 295.5 kB / 0.7991 GB, free: 134.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06543/1.321, allocations: 47.16 MB / 0.8451 GB, free: 86.83 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003043/1.324, allocations: 223.7 kB / 0.8453 GB, free: 86.61 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004454/1.325, allocations: 100 kB / 0.8454 GB, free: 86.52 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002548/1.327, allocations: 1.578 MB / 0.847 GB, free: 84.93 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005943/1.328, allocations: 245.1 kB / 0.8472 GB, free: 84.68 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03121/1.359, allocations: 14.75 MB / 0.8616 GB, free: 69.87 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.762e-05/1.359, allocations: 24 kB / 0.8616 GB, free: 69.85 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001712/1.359, allocations: 48 kB / 0.8617 GB, free: 69.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.995e-05/1.359, allocations: 11.95 kB / 0.8617 GB, free: 69.79 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03924/1.399, allocations: 20.52 MB / 0.8817 GB, free: 49.13 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.951e-05/1.399, allocations: 8 kB / 0.8817 GB, free: 49.12 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007515/1.399, allocations: 167.7 kB / 0.8819 GB, free: 48.96 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02844/1.428, allocations: 9.001 MB / 0.8907 GB, free: 39.94 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005576/1.428, allocations: 48 kB / 0.8907 GB, free: 39.89 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06896/1.497, allocations: 46.75 MB / 0.9364 GB, free: 8.312 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.214e-05/1.497, allocations: 12 kB / 0.9364 GB, free: 8.301 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03464/1.532, allocations: 14.37 MB / 0.9504 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0021/1.534, allocations: 0.8493 MB / 0.9512 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008978/1.535, allocations: 48 kB / 0.9513 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002733/1.538, allocations: 203.7 kB / 0.9515 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001457/1.539, allocations: 245.4 kB / 0.9517 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003857/1.54, allocations: 67.98 kB / 0.9518 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.00195/1.542, allocations: 1.121 MB / 0.9529 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of sort global known variables: time 4.3e-07/1.542, allocations: 4 kB / 0.9529 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.005852/1.548, allocations: 1.613 MB / 0.9545 GB, free: 5.605 MB / 0.6075 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006668/1.548, allocations: 163 kB / 0.9546 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0243/1.573, allocations: 10.36 MB / 0.9647 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.132e-05/1.573, allocations: 0 / 0.9647 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.01911/1.592, allocations: 7.163 MB / 0.9717 GB, free: 3.785 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005839/1.598, allocations: 0.5256 MB / 0.9722 GB, free: 3.266 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01949/1.617, allocations: 11.24 MB / 0.9832 GB, free: 7.973 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004945/1.622, allocations: 3.294 MB / 0.9864 GB, free: 4.641 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004851/1.623, allocations: 111.4 kB / 0.9865 GB, free: 4.531 MB / 0.6387 GB Notification: Performance of SimCode: time 1.332e-06/1.623, allocations: 3.938 kB / 0.9865 GB, free: 4.527 MB / 0.6387 GB Notification: Performance of Templates: time 0.4335/2.056, allocations: 187.1 MB / 1.169 GB, free: 52.8 MB / 0.6387 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1)