Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.ACLine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00153/0.001531, allocations: 108.1 kB / 16.27 MB, free: 5.984 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.001595/0.001595, allocations: 193.3 kB / 17.2 MB, free: 5.609 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.379/1.379, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.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.744/1.744, allocations: 292.3 MB / 0.5495 GB, free: 17.34 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.001449/0.001449, allocations: 66.41 kB / 0.6722 GB, free: 6.578 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2597/0.2612, allocations: 114.6 MB / 0.784 GB, free: 3.902 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.4461/0.7073, allocations: 33.19 MB / 0.8164 GB, free: 30.51 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0256/0.733, allocations: 14.89 MB / 0.831 GB, free: 20.27 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005943/0.739, allocations: 156.2 kB / 0.8311 GB, free: 20.21 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.01071/0.7498, allocations: 3.659 MB / 0.8347 GB, free: 18.01 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.01197/0.7618, allocations: 2.878 MB / 0.8375 GB, free: 16.25 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.008342/0.7702, allocations: 2.319 MB / 0.8398 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01605/0.7863, allocations: 8.817 MB / 0.8484 GB, free: 11 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01694/0.8033, allocations: 9.644 MB / 0.8578 GB, free: 7.242 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01095/0.8143, allocations: 3.938 MB / 0.8617 GB, free: 5.527 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009945/0.8243, allocations: 4.037 MB / 0.8656 GB, free: 3.445 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.004166/0.8285, allocations: 0.7197 MB / 0.8663 GB, free: 3.441 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008687/0.8372, allocations: 1.725 MB / 0.868 GB, free: 2.891 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.006562/0.8438, allocations: 2.821 MB / 0.8707 GB, free: 1.059 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.01175/0.8556, allocations: 3.397 MB / 0.8741 GB, free: 14.7 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.02013/0.8758, allocations: 11.11 MB / 0.8849 GB, free: 3.996 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 1.027e-05/0.8758, allocations: 0 / 0.8849 GB, free: 3.996 MB / 0.67 GB Notification: Performance of FrontEnd: time 6.883e-06/0.8759, allocations: 0 / 0.8849 GB, free: 3.996 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0004623/0.8763, allocations: 3.938 kB / 0.8849 GB, free: 3.992 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.02073/0.8971, allocations: 5.975 MB / 0.8908 GB, free: 13.94 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/0.8971, allocations: 8.031 kB / 0.8908 GB, free: 13.93 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008933/0.9061, allocations: 1.145 MB / 0.8919 GB, free: 12.78 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009447/0.9156, allocations: 3.328 MB / 0.8951 GB, free: 9.375 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004615/0.9161, allocations: 378.4 kB / 0.8955 GB, free: 9.004 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002544/0.9186, allocations: 496 kB / 0.896 GB, free: 8.52 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.023/0.9417, allocations: 8.001 MB / 0.9038 GB, free: 240 kB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003118/0.942, allocations: 27.78 kB / 0.9038 GB, free: 212 kB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002067/0.9441, allocations: 212 kB / 0.904 GB, free: 0 / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001306/0.9455, allocations: 437.5 kB / 0.9044 GB, free: 15.57 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01487/0.9603, allocations: 6.085 MB / 0.9104 GB, free: 9.473 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05091/1.011, allocations: 35.15 MB / 0.9447 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00314/1.014, allocations: 2.03 MB / 0.9467 GB, free: 1.113 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00259/1.017, allocations: 1.869 MB / 0.9485 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001068/1.017, allocations: 18 kB / 0.9485 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.412e-05/1.017, allocations: 56.5 kB / 0.9486 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=171): time 4.779e-06/1.017, allocations: 0 / 0.9486 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of matching and sorting (n=276): time 0.1651/1.182, allocations: 38.87 MB / 0.9865 GB, free: 8.188 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.751e-05/1.183, allocations: 81.52 kB / 0.9866 GB, free: 8.094 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003398/1.186, allocations: 2.286 MB / 0.9888 GB, free: 5.793 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0004766/1.186, allocations: 73.7 kB / 0.9889 GB, free: 5.715 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.001674/1.188, allocations: 2.276 MB / 0.9911 GB, free: 3.41 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.001051/1.189, allocations: 0.9241 MB / 0.992 GB, free: 2.473 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000916/1.19, allocations: 0.5061 MB / 0.9925 GB, free: 1.957 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.996e-05/1.19, allocations: 309.1 kB / 0.9928 GB, free: 1.652 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002814/1.193, allocations: 1.97 MB / 0.9947 GB, free: 15.68 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003193/1.196, allocations: 2.606 MB / 0.9973 GB, free: 12.83 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006477/1.203, allocations: 4.929 MB / 1.002 GB, free: 7.625 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-05/1.203, allocations: 11.94 kB / 1.002 GB, free: 7.613 MB / 0.795 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01493/1.218, allocations: 7.749 MB / 1.01 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.939e-05/1.218, allocations: 12.97 kB / 1.01 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.618e-05/1.218, allocations: 20 kB / 1.01 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009465/1.227, allocations: 3.241 MB / 1.013 GB, free: 12.5 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001856/1.229, allocations: 407.3 kB / 1.013 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04532/1.275, allocations: 33.9 MB / 1.046 GB, free: 9.359 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003397/1.278, allocations: 163.8 kB / 1.047 GB, free: 9.199 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004398/1.278, allocations: 108 kB / 1.047 GB, free: 9.094 MB / 0.8419 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 (202): * Single equations (assignments): 196 * 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 {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003361/1.282, allocations: 1.797 MB / 1.048 GB, free: 7.285 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007753/1.283, allocations: 328.2 kB / 1.049 GB, free: 6.961 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01367/1.296, allocations: 7.364 MB / 1.056 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.553e-05/1.296, allocations: 24 kB / 1.056 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.993e-05/1.296, allocations: 32.62 kB / 1.056 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.583e-05/1.297, allocations: 15.94 kB / 1.056 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02322/1.32, allocations: 12.92 MB / 1.069 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.088e-05/1.32, allocations: 11.94 kB / 1.069 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001006/1.321, allocations: 235.5 kB / 1.069 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008387/1.329, allocations: 2.879 MB / 1.072 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004264/1.33, allocations: 52 kB / 1.072 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04157/1.371, allocations: 32.69 MB / 1.104 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.557e-06/1.371, allocations: 11.94 kB / 1.104 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01228/1.384, allocations: 6.89 MB / 1.11 GB, free: 6.488 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001974/1.386, allocations: 0.782 MB / 1.111 GB, free: 5.684 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004916/1.386, allocations: 52 kB / 1.111 GB, free: 5.633 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001781/1.388, allocations: 167.8 kB / 1.111 GB, free: 5.469 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008565/1.389, allocations: 253.5 kB / 1.112 GB, free: 5.223 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001698/1.389, allocations: 76 kB / 1.112 GB, free: 5.148 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.002109/1.391, allocations: 1.525 MB / 1.113 GB, free: 3.621 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.41e-07/1.391, allocations: 0 / 1.113 GB, free: 3.621 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.004052/1.395, allocations: 1.375 MB / 1.114 GB, free: 2.246 MB / 0.9044 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 (105): * Single equations (assignments): 99 * 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 {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003648/1.395, allocations: 178.5 kB / 1.115 GB, free: 2.066 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.01448/1.41, allocations: 8.377 MB / 1.123 GB, free: 9.598 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.737e-05/1.41, allocations: 4.188 kB / 1.123 GB, free: 9.594 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.007868/1.418, allocations: 4.413 MB / 1.127 GB, free: 5.105 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005001/1.423, allocations: 1.117 MB / 1.128 GB, free: 4.039 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4366/1.86, allocations: 10.88 MB / 1.139 GB, free: 279.5 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005659/1.865, allocations: 3.755 MB / 1.143 GB, free: 278.7 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009136/1.866, allocations: 170.7 kB / 1.143 GB, free: 278.7 MB / 0.92 GB Notification: Performance of SimCode: time 1.633e-06/1.866, allocations: 3.188 kB / 1.143 GB, free: 278.7 MB / 0.92 GB Notification: Performance of Templates: time 0.2276/2.094, allocations: 227.3 MB / 1.365 GB, free: 97.73 MB / 0.92 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1)