Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_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_8_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.0008157/0.0008157, allocations: 92 kB / 15.06 MB, free: 1.098 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.0008854/0.0008853, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.378/1.378, allocations: 205.4 MB / 222.1 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.66/1.66, allocations: 292.7 MB / 0.5499 GB, free: 14.59 MB / 462.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.0005072/0.0005076, allocations: 21.75 kB / 0.6737 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2773/0.2778, allocations: 116.3 MB / 0.7873 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01025/0.2881, allocations: 9.078 MB / 0.7961 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005845/0.294, allocations: 3.063 MB / 0.7991 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007106/0.2948, allocations: 23.88 kB / 0.7992 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0004757/0.2953, allocations: 178.6 kB / 0.7993 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001394/0.2967, allocations: 0.6339 MB / 0.8 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001464/0.2981, allocations: 0.5186 MB / 0.8005 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004352/0.3025, allocations: 3.51 MB / 0.8039 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004327/0.3069, allocations: 2.719 MB / 0.8065 GB, free: 8.129 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001679/0.3086, allocations: 0.9653 MB / 0.8075 GB, free: 7.16 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002002/0.3106, allocations: 1.433 MB / 0.8089 GB, free: 5.723 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002263/0.3108, allocations: 112 kB / 0.809 GB, free: 5.613 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008926/0.3117, allocations: 255.8 kB / 0.8092 GB, free: 5.363 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0009815/0.3127, allocations: 0.9276 MB / 0.8101 GB, free: 4.434 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0004048/0.3131, allocations: 376.8 kB / 0.8105 GB, free: 4.059 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002845/0.316, allocations: 3.012 MB / 0.8134 GB, free: 1.039 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 8.426e-06/0.316, allocations: 7.938 kB / 0.8135 GB, free: 1.031 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.575e-06/0.316, allocations: 0 / 0.8135 GB, free: 1.031 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 3.926e-05/0.3161, allocations: 0 / 0.8135 GB, free: 1.031 MB / 0.6231 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.003345/0.3194, allocations: 1.78 MB / 0.8152 GB, free: 15.2 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/0.3195, allocations: 11.97 kB / 0.8152 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007623/0.3271, allocations: 1.328 MB / 0.8165 GB, free: 13.85 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002289/0.3294, allocations: 1.223 MB / 0.8177 GB, free: 12.59 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.785e-05/0.3295, allocations: 115 kB / 0.8178 GB, free: 12.47 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002707/0.3298, allocations: 148 kB / 0.8179 GB, free: 12.33 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005377/0.3352, allocations: 3.425 MB / 0.8213 GB, free: 8.805 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.545e-05/0.3352, allocations: 0 / 0.8213 GB, free: 8.805 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001978/0.3354, allocations: 67.97 kB / 0.8214 GB, free: 8.738 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002523/0.3357, allocations: 203.1 kB / 0.8215 GB, free: 8.539 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004785/0.3405, allocations: 3.12 MB / 0.8246 GB, free: 5.414 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01715/0.3576, allocations: 13.58 MB / 0.8379 GB, free: 6.953 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002404/0.3601, allocations: 1.713 MB / 0.8395 GB, free: 5.23 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002085/0.3622, allocations: 1.437 MB / 0.8409 GB, free: 3.785 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 9.524e-05/0.3623, allocations: 13 kB / 0.8409 GB, free: 3.773 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.733e-05/0.3624, allocations: 43.56 kB / 0.841 GB, free: 3.723 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=104): time 4.068e-06/0.3624, allocations: 0 / 0.841 GB, free: 3.723 MB / 0.6544 GB Notification: Performance of matching and sorting (n=183): time 0.122/0.4843, allocations: 35.93 MB / 0.8761 GB, free: 15.65 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.871e-05/0.4844, allocations: 69.41 kB / 0.8761 GB, free: 15.57 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001467/0.4859, allocations: 1.057 MB / 0.8772 GB, free: 14.49 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0003698/0.4863, allocations: 53.7 kB / 0.8772 GB, free: 14.43 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005789/0.4869, allocations: 0.7951 MB / 0.878 GB, free: 13.62 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.000641/0.4875, allocations: 0.6199 MB / 0.8786 GB, free: 12.99 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001633/0.4877, allocations: 36 kB / 0.8786 GB, free: 12.96 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000166/0.4879, allocations: 389.9 kB / 0.879 GB, free: 12.57 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00263/0.4905, allocations: 1.921 MB / 0.8809 GB, free: 10.65 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00295/0.4935, allocations: 2.273 MB / 0.8831 GB, free: 8.254 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002978/0.4965, allocations: 2.211 MB / 0.8853 GB, free: 6.043 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.087e-06/0.4965, allocations: 4 kB / 0.8853 GB, free: 6.039 MB / 0.7012 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01877/0.5153, allocations: 8.985 MB / 0.894 GB, free: 13.03 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.604e-05/0.5153, allocations: 8 kB / 0.8941 GB, free: 13.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.046e-05/0.5154, allocations: 8 kB / 0.8941 GB, free: 13.01 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01588/0.5313, allocations: 4.974 MB / 0.8989 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009328/0.5322, allocations: 195.7 kB / 0.8991 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5279/1.06, allocations: 35.07 MB / 0.9333 GB, free: 121.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001688/1.062, allocations: 101.2 kB / 0.9334 GB, free: 121.2 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001695/1.062, allocations: 67.23 kB / 0.9335 GB, free: 121.2 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(8,100.0%) 16,(8,100.0%) 16,(8,100.0%) 38,(8,100.0%) 38} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001315/1.063, allocations: 0.8036 MB / 0.9343 GB, free: 120.8 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000258/1.064, allocations: 143.2 kB / 0.9344 GB, free: 120.8 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01935/1.083, allocations: 8.876 MB / 0.9431 GB, free: 118.2 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.965e-05/1.083, allocations: 19.7 kB / 0.9431 GB, free: 118.2 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001733/1.083, allocations: 29.53 kB / 0.9431 GB, free: 118.2 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-05/1.083, allocations: 6.891 kB / 0.9432 GB, free: 118.2 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02526/1.109, allocations: 13.24 MB / 0.9561 GB, free: 113.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-05/1.109, allocations: 4.125 kB / 0.9561 GB, free: 113.9 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004896/1.109, allocations: 119.3 kB / 0.9562 GB, free: 113.9 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01407/1.123, allocations: 4.765 MB / 0.9609 GB, free: 112.1 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003566/1.124, allocations: 35.62 kB / 0.9609 GB, free: 112.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03771/1.161, allocations: 31.41 MB / 0.9916 GB, free: 85.96 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/1.161, allocations: 4 kB / 0.9916 GB, free: 85.96 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01506/1.177, allocations: 8.373 MB / 0.9997 GB, free: 77.5 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00108/1.178, allocations: 0.6202 MB / 1 GB, free: 76.86 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002594/1.178, allocations: 39.98 kB / 1 GB, free: 76.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001022/1.179, allocations: 91.89 kB / 1 GB, free: 76.73 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005844/1.18, allocations: 157.7 kB / 1.001 GB, free: 76.58 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001266/1.18, allocations: 44.75 kB / 1.001 GB, free: 76.54 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007759/1.18, allocations: 0.7343 MB / 1.001 GB, free: 75.79 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.5e-07/1.18, allocations: 4 kB / 1.001 GB, free: 75.79 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003566/1.184, allocations: 1.004 MB / 1.002 GB, free: 74.78 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(8,100.0%) 16,(8,100.0%) 38,(8,100.0%) 8,(14,80.1%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002746/1.184, allocations: 141.7 kB / 1.003 GB, free: 74.64 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.007791/1.192, allocations: 5.815 MB / 1.008 GB, free: 68.78 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/1.192, allocations: 0 / 1.008 GB, free: 68.78 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.006207/1.198, allocations: 3.805 MB / 1.012 GB, free: 64.93 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001326/1.2, allocations: 219.4 kB / 1.012 GB, free: 64.72 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006182/1.206, allocations: 5.615 MB / 1.018 GB, free: 59.06 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00131/1.207, allocations: 1.866 MB / 1.019 GB, free: 57.16 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0007517/1.208, allocations: 350.3 kB / 1.02 GB, free: 56.82 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001629/1.208, allocations: 71.42 kB / 1.02 GB, free: 56.75 MB / 0.7325 GB Notification: Performance of SimCode: time 8.82e-07/1.208, allocations: 0 / 1.02 GB, free: 56.75 MB / 0.7325 GB Notification: Performance of Templates: time 0.06492/1.273, allocations: 54.42 MB / 1.073 GB, free: 2.477 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) Environment - environmentSimulation: