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.ACLine_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 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.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008673/0.008673, allocations: 101.8 kB / 15.73 MB, free: 6.477 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.001705/0.001705, allocations: 192.4 kB / 16.67 MB, free: 6.391 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.831/1.831, allocations: 205.1 MB / 222.5 MB, free: 4.566 MB / 174.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.657/1.657, allocations: 251.7 MB / 0.5094 GB, free: 3.117 MB / 414.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.001482/0.001482, allocations: 71.89 kB / 0.7258 GB, free: 9.059 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2626/0.2641, allocations: 104.7 MB / 0.8281 GB, free: 248 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02325/0.2874, allocations: 20.17 MB / 0.8478 GB, free: 12 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01271/0.3001, allocations: 6.508 MB / 0.8541 GB, free: 5.473 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002769/0.3029, allocations: 87.56 kB / 0.8542 GB, free: 5.387 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.006911/0.3099, allocations: 2.229 MB / 0.8564 GB, free: 3.152 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.005134/0.3151, allocations: 1.248 MB / 0.8576 GB, free: 1.898 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.006003/0.3211, allocations: 1.278 MB / 0.8588 GB, free: 0.6211 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.009226/0.3304, allocations: 4.869 MB / 0.8636 GB, free: 11.74 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01139/0.3418, allocations: 5.576 MB / 0.869 GB, free: 6.098 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004323/0.3462, allocations: 2.119 MB / 0.8711 GB, free: 3.973 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004794/0.351, allocations: 2.344 MB / 0.8734 GB, free: 1.621 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001711/0.3528, allocations: 428 kB / 0.8738 GB, free: 1.203 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003491/0.3563, allocations: 1.003 MB / 0.8748 GB, free: 204 kB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.002763/0.3591, allocations: 1.673 MB / 0.8764 GB, free: 14.52 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.003276/0.3624, allocations: 1.914 MB / 0.8783 GB, free: 12.6 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.008658/0.371, allocations: 6.509 MB / 0.8846 GB, free: 6.074 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.3711, allocations: 0 / 0.8846 GB, free: 6.074 MB / 0.7012 GB Notification: Performance of FrontEnd: time 3.667e-06/0.3711, allocations: 0 / 0.8846 GB, free: 6.074 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0002137/0.3713, allocations: 3.938 kB / 0.8846 GB, free: 6.07 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.009618/0.3809, allocations: 3.456 MB / 0.888 GB, free: 2.551 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.495e-05/0.381, allocations: 12.03 kB / 0.888 GB, free: 2.539 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003647/0.3847, allocations: 0.6372 MB / 0.8887 GB, free: 1.898 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004631/0.3893, allocations: 2.045 MB / 0.8907 GB, free: 15.79 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001796/0.3895, allocations: 218.2 kB / 0.8909 GB, free: 15.58 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006882/0.3902, allocations: 304.3 kB / 0.8911 GB, free: 15.28 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01008/0.4003, allocations: 4.882 MB / 0.8959 GB, free: 10.2 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001093/0.4005, allocations: 15.83 kB / 0.8959 GB, free: 10.18 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003549/0.4009, allocations: 135.9 kB / 0.8961 GB, free: 10.05 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005007/0.4014, allocations: 229.7 kB / 0.8963 GB, free: 9.824 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007058/0.4085, allocations: 3.75 MB / 0.8999 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6937/1.102, allocations: 21.4 MB / 0.9208 GB, free: 81.02 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002499/1.105, allocations: 1.309 MB / 0.9221 GB, free: 80.98 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001702/1.106, allocations: 1.049 MB / 0.9231 GB, free: 80.97 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 8.411e-05/1.107, allocations: 11.44 kB / 0.9232 GB, free: 80.97 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.064e-05/1.107, allocations: 49.44 kB / 0.9232 GB, free: 80.93 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=107): time 3.186e-06/1.107, allocations: 0.6875 kB / 0.9232 GB, free: 80.93 MB / 0.7325 GB Notification: Performance of matching and sorting (n=138): time 0.02637/1.133, allocations: 8.663 MB / 0.9317 GB, free: 79.45 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.364e-05/1.133, allocations: 65.06 kB / 0.9317 GB, free: 79.38 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001869/1.135, allocations: 1.132 MB / 0.9328 GB, free: 78.94 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001689/1.135, allocations: 45.55 kB / 0.9329 GB, free: 78.89 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008262/1.136, allocations: 1.302 MB / 0.9341 GB, free: 77.9 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004411/1.136, allocations: 480.9 kB / 0.9346 GB, free: 77.54 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004679/1.137, allocations: 290 kB / 0.9349 GB, free: 77.4 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 5.042e-05/1.137, allocations: 301.6 kB / 0.9352 GB, free: 77.11 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001301/1.138, allocations: 0.9126 MB / 0.9361 GB, free: 76.77 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001562/1.14, allocations: 1.328 MB / 0.9374 GB, free: 75.93 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003188/1.143, allocations: 2.428 MB / 0.9397 GB, free: 74.57 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.158e-05/1.143, allocations: 3.031 kB / 0.9397 GB, free: 74.57 MB / 0.7325 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006602/1.15, allocations: 3.459 MB / 0.9431 GB, free: 73.21 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.963e-05/1.15, allocations: 14.16 kB / 0.9431 GB, free: 73.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.485e-05/1.15, allocations: 19.41 kB / 0.9431 GB, free: 73.2 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003439/1.153, allocations: 1.185 MB / 0.9443 GB, free: 72.89 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001109/1.154, allocations: 255.7 kB / 0.9445 GB, free: 72.87 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01697/1.171, allocations: 13.84 MB / 0.9581 GB, free: 64.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001592/1.173, allocations: 93.39 kB / 0.9581 GB, free: 64.36 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001719/1.173, allocations: 62.66 kB / 0.9582 GB, free: 64.35 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0023/1.176, allocations: 1.116 MB / 0.9593 GB, free: 63.83 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004401/1.176, allocations: 159.3 kB / 0.9595 GB, free: 63.75 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005077/1.181, allocations: 3.175 MB / 0.9626 GB, free: 62.15 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.388e-05/1.181, allocations: 11.78 kB / 0.9626 GB, free: 62.15 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-05/1.181, allocations: 13.7 kB / 0.9626 GB, free: 62.15 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.139e-05/1.181, allocations: 3.984 kB / 0.9626 GB, free: 62.14 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009508/1.191, allocations: 6.255 MB / 0.9687 GB, free: 58.37 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-05/1.191, allocations: 9.047 kB / 0.9687 GB, free: 58.37 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005236/1.191, allocations: 152.1 kB / 0.9688 GB, free: 58.32 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002466/1.194, allocations: 1.066 MB / 0.9699 GB, free: 57.82 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001177/1.194, allocations: 24.38 kB / 0.9699 GB, free: 57.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01264/1.207, allocations: 13.53 MB / 0.9831 GB, free: 45.85 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/1.207, allocations: 8 kB / 0.9831 GB, free: 45.84 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004523/1.211, allocations: 3.153 MB / 0.9862 GB, free: 42.61 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008121/1.212, allocations: 423.1 kB / 0.9866 GB, free: 42.17 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000208/1.212, allocations: 32 kB / 0.9866 GB, free: 42.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000741/1.213, allocations: 84.77 kB / 0.9867 GB, free: 42.06 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003774/1.213, allocations: 121.8 kB / 0.9868 GB, free: 41.94 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.601e-05/1.213, allocations: 43.94 kB / 0.9869 GB, free: 41.9 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009/1.214, allocations: 0.771 MB / 0.9876 GB, free: 41.12 MB / 0.7325 GB Notification: Performance of sort global known variables: time 6.51e-07/1.214, allocations: 0 / 0.9876 GB, free: 41.12 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002351/1.217, allocations: 0.6562 MB / 0.9883 GB, free: 40.47 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002463/1.217, allocations: 147 kB / 0.9884 GB, free: 40.32 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004135/1.221, allocations: 3.141 MB / 0.9915 GB, free: 37.14 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.764e-06/1.221, allocations: 0 / 0.9915 GB, free: 37.14 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002448/1.224, allocations: 1.952 MB / 0.9934 GB, free: 35.16 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002174/1.226, allocations: 0.4951 MB / 0.9939 GB, free: 34.71 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008345/1.234, allocations: 5.367 MB / 0.9991 GB, free: 29.27 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0019/1.236, allocations: 2.344 MB / 1.001 GB, free: 26.9 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00108/1.237, allocations: 350.1 kB / 1.002 GB, free: 26.55 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000191/1.237, allocations: 91.27 kB / 1.002 GB, free: 26.46 MB / 0.7325 GB Notification: Performance of SimCode: time 8.32e-07/1.237, allocations: 0 / 1.002 GB, free: 26.46 MB / 0.7325 GB Notification: Performance of Templates: time 0.04945/1.287, allocations: 33.21 MB / 1.034 GB, free: 9.73 MB / 0.7481 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1)