Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.366/2.366, allocations: 251.1 MB / 266.7 MB, free: 11.57 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001392/0.001391, allocations: 186.2 kB / 326.3 MB, free: 2.844 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.496/2.496, allocations: 205.4 MB / 0.5772 GB, free: 20.77 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009312/0.000931, allocations: 97.91 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004642/0.0004644, allocations: 15.3 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2078/0.2083, allocations: 106.3 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04771/0.256, allocations: 34.49 MB / 0.9332 GB, free: 30.95 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02174/0.2778, allocations: 10.6 MB / 0.9435 GB, free: 20.32 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003669/0.2816, allocations: 131.2 kB / 0.9437 GB, free: 20.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.003499/0.2851, allocations: 0.7557 MB / 0.9444 GB, free: 19.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.007101/0.2923, allocations: 1.791 MB / 0.9462 GB, free: 17.63 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.006071/0.2984, allocations: 1.282 MB / 0.9474 GB, free: 16.36 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0142/0.3127, allocations: 10.45 MB / 0.9576 GB, free: 5.871 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03093/0.3436, allocations: 13.25 MB / 0.9705 GB, free: 8.551 MB / 0.6199 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007575/0.3513, allocations: 2.864 MB / 0.9733 GB, free: 5.672 MB / 0.6199 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009185/0.3605, allocations: 3.773 MB / 0.977 GB, free: 1.887 MB / 0.6199 GB Notification: Performance of NFPackage.collectConstants: time 0.001894/0.3625, allocations: 348 kB / 0.9774 GB, free: 1.547 MB / 0.6199 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005454/0.3679, allocations: 0.7065 MB / 0.9781 GB, free: 0.8398 MB / 0.6199 GB Notification: Performance of NFScalarize.scalarize: time 0.008938/0.3769, allocations: 2.514 MB / 0.9805 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.004086/0.3811, allocations: 1.198 MB / 0.9817 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.01681/0.398, allocations: 10.18 MB / 0.9916 GB, free: 2.902 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/0.3981, allocations: 0 / 0.9916 GB, free: 2.902 MB / 0.6355 GB Notification: Performance of FrontEnd: time 4.909e-06/0.3981, allocations: 7.984 kB / 0.9916 GB, free: 2.895 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0003953/0.3985, allocations: 4 kB / 0.9916 GB, free: 2.891 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01901/0.4175, allocations: 5.133 MB / 0.9966 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.774e-05/0.4176, allocations: 8.031 kB / 0.9967 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008809/0.4264, allocations: 1.079 MB / 0.9977 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01129/0.4378, allocations: 3.343 MB / 1.001 GB, free: 9.199 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005855/0.4384, allocations: 423.7 kB / 1.001 GB, free: 8.785 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002352/0.4408, allocations: 0.5471 MB / 1.002 GB, free: 8.238 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03038/0.4712, allocations: 9.334 MB / 1.011 GB, free: 14.57 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002989/0.4715, allocations: 15.88 kB / 1.011 GB, free: 14.55 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001801/0.4733, allocations: 252 kB / 1.011 GB, free: 14.3 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001128/0.4745, allocations: 426.8 kB / 1.012 GB, free: 13.89 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02392/0.4984, allocations: 7.077 MB / 1.019 GB, free: 6.801 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6759/1.174, allocations: 41.36 MB / 1.059 GB, free: 121.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009353/1.184, allocations: 3.098 MB / 1.062 GB, free: 121.6 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005394/1.189, allocations: 2.115 MB / 1.064 GB, free: 121.6 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003301/1.19, allocations: 26.44 kB / 1.064 GB, free: 121.6 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.32e-05/1.19, allocations: 61.38 kB / 1.064 GB, free: 121.6 MB / 0.698 GB Notification: Performance of pre-optimization done (n=209): time 6.172e-06/1.19, allocations: 0.9062 kB / 1.064 GB, free: 121.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=212): time 0.0476/1.237, allocations: 10.47 MB / 1.074 GB, free: 120.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.819e-05/1.237, allocations: 76.78 kB / 1.074 GB, free: 120.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004023/1.241, allocations: 1.986 MB / 1.076 GB, free: 120 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0005557/1.242, allocations: 68.23 kB / 1.076 GB, free: 120 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001935/1.244, allocations: 2.393 MB / 1.079 GB, free: 118.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001077/1.245, allocations: 0.7349 MB / 1.08 GB, free: 118.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002856/1.246, allocations: 51.38 kB / 1.08 GB, free: 118.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002729/1.246, allocations: 412.1 kB / 1.08 GB, free: 118 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003547/1.249, allocations: 1.364 MB / 1.081 GB, free: 117.9 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004399/1.254, allocations: 2.097 MB / 1.083 GB, free: 116.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004259/1.258, allocations: 1.723 MB / 1.085 GB, free: 115.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.62e-05/1.258, allocations: 11.88 kB / 1.085 GB, free: 115.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.01448/1.273, allocations: 5.036 MB / 1.09 GB, free: 113.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.73e-05/1.273, allocations: 19.91 kB / 1.09 GB, free: 113.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.546e-05/1.273, allocations: 22.22 kB / 1.09 GB, free: 113.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006512/1.279, allocations: 1.56 MB / 1.092 GB, free: 113.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003303/1.283, allocations: 453 kB / 1.092 GB, free: 113 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03104/1.314, allocations: 17.06 MB / 1.109 GB, free: 100.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003626/1.317, allocations: 155.2 kB / 1.109 GB, free: 100.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005076/1.318, allocations: 108.9 kB / 1.109 GB, free: 100.6 MB / 0.698 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 (231): * Single equations (assignments): 227 * 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 {(6,69.4%) 32,(6,66.7%) 24,(4,100.0%) 18,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005498/1.324, allocations: 1.942 MB / 1.111 GB, free: 99.15 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001509/1.325, allocations: 288.7 kB / 1.111 GB, free: 98.86 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01883/1.344, allocations: 4.443 MB / 1.115 GB, free: 94.39 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.219e-05/1.344, allocations: 9.281 kB / 1.115 GB, free: 94.38 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.13e-05/1.344, allocations: 0 / 1.115 GB, free: 94.38 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003347/1.347, allocations: 0.6342 MB / 1.116 GB, free: 93.73 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001345/1.349, allocations: 32 kB / 1.116 GB, free: 93.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004241/1.353, allocations: 111.9 kB / 1.116 GB, free: 93.59 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001012/1.354, allocations: 213.5 kB / 1.116 GB, free: 93.38 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02514/1.379, allocations: 4.919 MB / 1.121 GB, free: 88.5 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01756/1.397, allocations: 4.808 MB / 1.126 GB, free: 83.67 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005143/1.402, allocations: 1.507 MB / 1.127 GB, free: 82.16 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.004686/1.407, allocations: 1.295 MB / 1.129 GB, free: 80.86 MB / 0.698 GB Notification: Performance of Backend: time 2.384e-06/1.407, allocations: 1.969 kB / 1.129 GB, free: 80.86 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01887/1.426, allocations: 3.732 MB / 1.132 GB, free: 77.12 MB / 0.698 GB Notification: Performance of SimCode: time 0.03973/1.466, allocations: 12.08 MB / 1.144 GB, free: 65 MB / 0.698 GB Notification: Performance of Templates: time 0.1425/1.608, allocations: 53.28 MB / 1.196 GB, free: 12.36 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1)