Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00814/0.00814, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001267/0.001267, allocations: 195.8 kB / 16.67 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.678/1.678, allocations: 205.1 MB / 222.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.437/1.437, allocations: 251.7 MB / 0.5094 GB, free: 424 kB / 430.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001707/0.001708, allocations: 64.42 kB / 0.7258 GB, free: 4.699 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7899/0.7917, allocations: 104.7 MB / 0.8281 GB, free: 2.648 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01426/0.806, allocations: 10.08 MB / 0.8379 GB, free: 8.52 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.007744/0.8138, allocations: 3.221 MB / 0.841 GB, free: 5.285 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001541/0.8154, allocations: 31.88 kB / 0.8411 GB, free: 5.254 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002505/0.818, allocations: 0.5985 MB / 0.8417 GB, free: 4.652 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002721/0.8208, allocations: 0.7349 MB / 0.8424 GB, free: 3.914 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002248/0.823, allocations: 0.7522 MB / 0.8431 GB, free: 3.164 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004245/0.8273, allocations: 2.973 MB / 0.846 GB, free: 192 kB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003737/0.831, allocations: 2.582 MB / 0.8485 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003434/0.8345, allocations: 1.25 MB / 0.8498 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003383/0.8379, allocations: 1.558 MB / 0.8513 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0004769/0.8384, allocations: 232 kB / 0.8515 GB, free: 10.52 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001446/0.8399, allocations: 0.4993 MB / 0.852 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001352/0.8412, allocations: 1.068 MB / 0.853 GB, free: 8.953 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001724/0.843, allocations: 1.109 MB / 0.8541 GB, free: 7.84 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.004541/0.8475, allocations: 3.679 MB / 0.8577 GB, free: 4.152 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.817e-06/0.8476, allocations: 0 / 0.8577 GB, free: 4.152 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.324e-06/0.8476, allocations: 3.938 kB / 0.8577 GB, free: 4.148 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.727e-05/0.8477, allocations: 0 / 0.8577 GB, free: 4.148 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.005322/0.853, allocations: 2.142 MB / 0.8598 GB, free: 1.949 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 6.43e-05/0.8531, allocations: 8.031 kB / 0.8598 GB, free: 1.941 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009642/0.8627, allocations: 1.321 MB / 0.8611 GB, free: 0.6172 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003896/0.8667, allocations: 1.298 MB / 0.8624 GB, free: 15.27 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001186/0.8668, allocations: 111.4 kB / 0.8625 GB, free: 15.16 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006924/0.8675, allocations: 148.3 kB / 0.8626 GB, free: 15.02 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007123/0.8747, allocations: 3.441 MB / 0.866 GB, free: 11.48 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.711e-05/0.8748, allocations: 7.938 kB / 0.866 GB, free: 11.47 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002501/0.8751, allocations: 59.97 kB / 0.866 GB, free: 11.41 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003737/0.8754, allocations: 211.1 kB / 0.8662 GB, free: 11.2 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007588/0.8831, allocations: 3.124 MB / 0.8693 GB, free: 8.074 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02626/0.9094, allocations: 13.54 MB / 0.8825 GB, free: 9.648 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003123/0.9126, allocations: 1.721 MB / 0.8842 GB, free: 7.926 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002647/0.9153, allocations: 1.444 MB / 0.8856 GB, free: 6.477 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 8.024e-05/0.9154, allocations: 9 kB / 0.8856 GB, free: 6.469 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.568e-05/0.9154, allocations: 47.5 kB / 0.8857 GB, free: 6.414 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=104): time 4.328e-06/0.9154, allocations: 3.984 kB / 0.8857 GB, free: 6.41 MB / 0.6856 GB Notification: Performance of matching and sorting (n=183): time 0.1548/1.07, allocations: 36.69 MB / 0.9215 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/1.07, allocations: 69.41 kB / 0.9216 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002282/1.073, allocations: 1.05 MB / 0.9226 GB, free: 436 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0006295/1.073, allocations: 53.7 kB / 0.9226 GB, free: 376 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007356/1.074, allocations: 0.7952 MB / 0.9234 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007628/1.075, allocations: 0.6199 MB / 0.924 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008197/1.076, allocations: 363.4 kB / 0.9244 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001531/1.076, allocations: 305.1 kB / 0.9246 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002909/1.079, allocations: 1.928 MB / 0.9265 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003444/1.082, allocations: 2.289 MB / 0.9288 GB, free: 9.918 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006146/1.088, allocations: 4.392 MB / 0.9331 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.186e-05/1.088, allocations: 0 / 0.9331 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02155/1.11, allocations: 9.026 MB / 0.9419 GB, free: 12.34 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 4.383e-05/1.11, allocations: 16.03 kB / 0.9419 GB, free: 12.33 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.773e-05/1.11, allocations: 8 kB / 0.9419 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01779/1.128, allocations: 4.975 MB / 0.9468 GB, free: 7.332 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001081/1.129, allocations: 195.7 kB / 0.9469 GB, free: 7.141 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06393/1.193, allocations: 38.89 MB / 0.9849 GB, free: 15.67 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002894/1.196, allocations: 107.9 kB / 0.985 GB, free: 15.56 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000266/1.196, allocations: 64 kB / 0.9851 GB, free: 15.5 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001893/1.198, allocations: 0.8095 MB / 0.9859 GB, free: 14.68 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004137/1.199, allocations: 142.3 kB / 0.986 GB, free: 14.54 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02077/1.219, allocations: 8.882 MB / 0.9947 GB, free: 5.621 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-05/1.22, allocations: 20 kB / 0.9947 GB, free: 5.602 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001158/1.22, allocations: 32 kB / 0.9947 GB, free: 5.57 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.949e-05/1.22, allocations: 11.95 kB / 0.9947 GB, free: 5.559 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02946/1.249, allocations: 13.4 MB / 1.008 GB, free: 7.992 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.738e-05/1.249, allocations: 4 kB / 1.008 GB, free: 7.988 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006771/1.25, allocations: 123.8 kB / 1.008 GB, free: 7.867 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01743/1.267, allocations: 4.837 MB / 1.013 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004467/1.268, allocations: 36 kB / 1.013 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06046/1.328, allocations: 36.82 MB / 1.049 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.195e-06/1.328, allocations: 8.469 kB / 1.049 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02206/1.351, allocations: 8.596 MB / 1.057 GB, free: 4.883 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002461/1.353, allocations: 0.632 MB / 1.058 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005447/1.354, allocations: 39.94 kB / 1.058 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001856/1.356, allocations: 91.88 kB / 1.058 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001276/1.357, allocations: 161.7 kB / 1.058 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001821/1.357, allocations: 48 kB / 1.058 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001316/1.358, allocations: 0.7382 MB / 1.059 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.5e-07/1.358, allocations: 0 / 1.059 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.004868/1.363, allocations: 0.9922 MB / 1.06 GB, free: 2.152 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (66): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (15,23,74.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005108/1.364, allocations: 150.2 kB / 1.06 GB, free: 2 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0118/1.376, allocations: 5.935 MB / 1.066 GB, free: 12.01 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.047e-05/1.376, allocations: 0 / 1.066 GB, free: 12.01 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.00938/1.385, allocations: 3.948 MB / 1.07 GB, free: 8.016 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002293/1.387, allocations: 237.5 kB / 1.07 GB, free: 7.785 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01118/1.399, allocations: 5.082 MB / 1.075 GB, free: 2.652 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002989/1.402, allocations: 1.855 MB / 1.077 GB, free: 0.7578 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.001326/1.403, allocations: 355.4 kB / 1.077 GB, free: 416 kB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002274/1.403, allocations: 63.42 kB / 1.077 GB, free: 352 kB / 0.8731 GB Notification: Performance of SimCode: time 1.854e-06/1.403, allocations: 0 / 1.077 GB, free: 352 kB / 0.8731 GB Notification: Performance of Templates: time 0.6579/2.061, allocations: 61.15 MB / 1.137 GB, free: 248.5 MB / 0.9044 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1)