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.009047/0.009047, allocations: 100.5 kB / 15.73 MB, free: 5.582 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.00126/0.00126, allocations: 195.9 kB / 16.67 MB, free: 5.523 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.576/1.576, 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.399/1.399, allocations: 251.7 MB / 0.5094 GB, free: 420 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.001434/0.001434, allocations: 71.89 kB / 0.7258 GB, free: 4.641 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7064/0.7079, allocations: 104.7 MB / 0.8281 GB, free: 2.555 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02647/0.7344, allocations: 20.17 MB / 0.8478 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01202/0.7465, allocations: 6.5 MB / 0.8541 GB, free: 7.789 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002853/0.7494, allocations: 91.5 kB / 0.8542 GB, free: 7.699 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.006192/0.7557, allocations: 2.221 MB / 0.8564 GB, free: 5.473 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.004217/0.7599, allocations: 1.193 MB / 0.8575 GB, free: 4.273 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003784/0.7637, allocations: 1.286 MB / 0.8588 GB, free: 2.988 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.006521/0.7703, allocations: 4.861 MB / 0.8635 GB, free: 14.11 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007122/0.7774, allocations: 5.575 MB / 0.869 GB, free: 8.473 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004139/0.7816, allocations: 2.091 MB / 0.871 GB, free: 6.375 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004409/0.786, allocations: 2.348 MB / 0.8733 GB, free: 4.016 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.001041/0.7871, allocations: 428 kB / 0.8737 GB, free: 3.598 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002584/0.7897, allocations: 1.003 MB / 0.8747 GB, free: 2.594 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.002059/0.7918, allocations: 1.665 MB / 0.8763 GB, free: 0.9258 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002953/0.7947, allocations: 1.91 MB / 0.8782 GB, free: 15.01 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.007774/0.8025, allocations: 6.515 MB / 0.8845 GB, free: 8.477 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 1.051e-05/0.8026, allocations: 8 kB / 0.8846 GB, free: 8.469 MB / 0.6856 GB Notification: Performance of FrontEnd: time 3.487e-06/0.8026, allocations: 0 / 0.8846 GB, free: 8.469 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0002218/0.8028, allocations: 0 / 0.8846 GB, free: 8.469 MB / 0.6856 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.009325/0.8122, allocations: 3.452 MB / 0.8879 GB, free: 4.953 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.353e-05/0.8122, allocations: 11.97 kB / 0.8879 GB, free: 4.941 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003924/0.8162, allocations: 0.645 MB / 0.8886 GB, free: 4.293 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005419/0.8216, allocations: 2.037 MB / 0.8906 GB, free: 2.195 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001834/0.8218, allocations: 226.3 kB / 0.8908 GB, free: 1.973 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001001/0.8228, allocations: 292.3 kB / 0.8911 GB, free: 1.688 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009694/0.8325, allocations: 4.89 MB / 0.8958 GB, free: 12.6 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.597e-05/0.8327, allocations: 11.94 kB / 0.8958 GB, free: 12.59 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003844/0.8331, allocations: 132 kB / 0.896 GB, free: 12.46 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004829/0.8336, allocations: 225.7 kB / 0.8962 GB, free: 12.23 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007785/0.8414, allocations: 3.754 MB / 0.8998 GB, free: 8.469 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02838/0.8698, allocations: 21.41 MB / 0.9208 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001851/0.8717, allocations: 1.316 MB / 0.922 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001471/0.8732, allocations: 1.046 MB / 0.9231 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 6.483e-05/0.8733, allocations: 16.94 kB / 0.9231 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.119e-05/0.8733, allocations: 47.56 kB / 0.9231 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=107): time 3.536e-06/0.8733, allocations: 0 / 0.9231 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of matching and sorting (n=138): time 0.02568/0.899, allocations: 8.656 MB / 0.9316 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.231e-05/0.8991, allocations: 68.72 kB / 0.9316 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001595/0.9007, allocations: 1.13 MB / 0.9327 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001615/0.9009, allocations: 49.7 kB / 0.9328 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008629/0.9018, allocations: 1.3 MB / 0.9341 GB, free: 3.316 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000433/0.9022, allocations: 477.1 kB / 0.9345 GB, free: 2.844 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000492/0.9027, allocations: 295.3 kB / 0.9348 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.9028, allocations: 305.1 kB / 0.9351 GB, free: 2.25 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001323/0.9042, allocations: 0.9174 MB / 0.936 GB, free: 1.332 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001608/0.9058, allocations: 1.322 MB / 0.9373 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003065/0.9089, allocations: 2.426 MB / 0.9396 GB, free: 13.24 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.025e-05/0.9089, allocations: 7.938 kB / 0.9397 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006421/0.9153, allocations: 3.468 MB / 0.943 GB, free: 9.746 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.9e-05/0.9154, allocations: 8.188 kB / 0.943 GB, free: 9.738 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.55e-05/0.9154, allocations: 16 kB / 0.9431 GB, free: 9.723 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00347/0.9189, allocations: 1.178 MB / 0.9442 GB, free: 8.539 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001091/0.92, allocations: 255.6 kB / 0.9445 GB, free: 8.289 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01783/0.9379, allocations: 13.84 MB / 0.958 GB, free: 10.04 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001483/0.9394, allocations: 91.91 kB / 0.9581 GB, free: 9.949 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001247/0.9395, allocations: 64 kB / 0.9581 GB, free: 9.887 MB / 0.7637 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.001917/0.9415, allocations: 1.118 MB / 0.9592 GB, free: 8.758 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003525/0.9418, allocations: 162.1 kB / 0.9594 GB, free: 8.598 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005792/0.9476, allocations: 3.173 MB / 0.9625 GB, free: 5.398 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.268e-05/0.9477, allocations: 12 kB / 0.9625 GB, free: 5.387 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.075e-05/0.9477, allocations: 15.94 kB / 0.9625 GB, free: 5.371 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.698e-05/0.9477, allocations: 7.969 kB / 0.9625 GB, free: 5.363 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01056/0.9583, allocations: 6.241 MB / 0.9686 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.071e-05/0.9583, allocations: 4.562 kB / 0.9686 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006198/0.959, allocations: 151.8 kB / 0.9687 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002871/0.9618, allocations: 1.075 MB / 0.9698 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.977e-05/0.962, allocations: 24 kB / 0.9698 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.017/0.979, allocations: 13.54 MB / 0.983 GB, free: 15.77 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.541e-06/0.979, allocations: 8 kB / 0.983 GB, free: 15.76 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005564/0.9846, allocations: 3.15 MB / 0.9861 GB, free: 12.53 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001269/0.9859, allocations: 423.1 kB / 0.9865 GB, free: 12.09 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002059/0.9861, allocations: 43.84 kB / 0.9866 GB, free: 12.05 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009604/0.9871, allocations: 83.89 kB / 0.9866 GB, free: 11.97 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000448/0.9875, allocations: 120.7 kB / 0.9868 GB, free: 11.85 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.43e-05/0.9876, allocations: 44 kB / 0.9868 GB, free: 11.81 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001148/0.9888, allocations: 0.7632 MB / 0.9875 GB, free: 11.04 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.91e-07/0.9888, allocations: 3.938 kB / 0.9875 GB, free: 11.04 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.002248/0.9911, allocations: 0.6602 MB / 0.9882 GB, free: 10.38 MB / 0.795 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.0003266/0.9914, allocations: 144.2 kB / 0.9883 GB, free: 10.23 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.005155/0.9966, allocations: 3.13 MB / 0.9914 GB, free: 7.059 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/0.9966, allocations: 0 / 0.9914 GB, free: 7.059 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.003148/0.9997, allocations: 1.959 MB / 0.9933 GB, free: 5.062 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002419/1.002, allocations: 0.4884 MB / 0.9938 GB, free: 4.586 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01181/1.014, allocations: 5.371 MB / 0.999 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002618/1.017, allocations: 2.336 MB / 1.001 GB, free: 12.77 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.001226/1.018, allocations: 350.1 kB / 1.002 GB, free: 12.42 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002291/1.018, allocations: 95.42 kB / 1.002 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of SimCode: time 7.11e-07/1.018, allocations: 0 / 1.002 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of Templates: time 0.06133/1.08, allocations: 33.2 MB / 1.034 GB, free: 11.57 MB / 0.8419 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)