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.001088/0.001088, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001282/0.001281, allocations: 192.5 kB / 16.25 MB, free: 6.625 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.515/1.515, allocations: 205.1 MB / 222.1 MB, free: 4.699 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.746/1.746, allocations: 292.3 MB / 0.5485 GB, free: 13.62 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.00139/0.00139, allocations: 67.81 kB / 0.671 GB, free: 26.43 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2783/0.2797, allocations: 114.5 MB / 0.7829 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03935/0.3191, allocations: 32.9 MB / 0.815 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.03119/0.3504, allocations: 14.76 MB / 0.8294 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005888/0.3563, allocations: 139.2 kB / 0.8295 GB, free: 13.94 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.01057/0.367, allocations: 3.404 MB / 0.8329 GB, free: 10.53 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.01203/0.379, allocations: 2.673 MB / 0.8355 GB, free: 7.844 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.008925/0.388, allocations: 2.124 MB / 0.8375 GB, free: 5.719 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01884/0.4068, allocations: 8.827 MB / 0.8462 GB, free: 12.87 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02362/0.4305, allocations: 11.37 MB / 0.8573 GB, free: 1.375 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009409/0.44, allocations: 4.011 MB / 0.8612 GB, free: 13.35 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008614/0.4487, allocations: 4.217 MB / 0.8653 GB, free: 9.121 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.003616/0.4523, allocations: 0.7188 MB / 0.866 GB, free: 8.402 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007118/0.4595, allocations: 1.72 MB / 0.8677 GB, free: 6.68 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.006307/0.4658, allocations: 2.826 MB / 0.8704 GB, free: 3.848 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.00945/0.4753, allocations: 3.392 MB / 0.8738 GB, free: 452 kB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0204/0.4958, allocations: 11.19 MB / 0.8847 GB, free: 5.215 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 9.558e-06/0.4958, allocations: 4 kB / 0.8847 GB, free: 5.211 MB / 0.7012 GB Notification: Performance of FrontEnd: time 3.306e-06/0.4958, allocations: 0 / 0.8847 GB, free: 5.211 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0005371/0.4964, allocations: 0 / 0.8847 GB, free: 5.211 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: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.02309/0.5195, allocations: 5.979 MB / 0.8905 GB, free: 15.16 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 9.013e-05/0.5196, allocations: 8.031 kB / 0.8905 GB, free: 15.15 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01071/0.5303, allocations: 1.138 MB / 0.8916 GB, free: 14 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009577/0.54, allocations: 3.325 MB / 0.8949 GB, free: 10.6 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004027/0.5404, allocations: 374.4 kB / 0.8953 GB, free: 10.23 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00287/0.5433, allocations: 500 kB / 0.8957 GB, free: 9.746 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01975/0.5631, allocations: 8.013 MB / 0.9036 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000171/0.5633, allocations: 27.77 kB / 0.9036 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006711/0.564, allocations: 216 kB / 0.9038 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001092/0.5651, allocations: 437.6 kB / 0.9042 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01507/0.5801, allocations: 6.085 MB / 0.9101 GB, free: 10.69 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5858/1.166, allocations: 35.14 MB / 0.9445 GB, free: 101.1 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002772/1.169, allocations: 2.034 MB / 0.9464 GB, free: 100.3 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002335/1.171, allocations: 1.862 MB / 0.9483 GB, free: 99.59 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001148/1.171, allocations: 22.89 kB / 0.9483 GB, free: 99.59 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.652e-05/1.171, allocations: 58.33 kB / 0.9483 GB, free: 99.53 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=171): time 3.507e-06/1.171, allocations: 0 / 0.9483 GB, free: 99.53 MB / 0.7325 GB Notification: Performance of matching and sorting (n=276): time 0.1344/1.306, allocations: 38.88 MB / 0.9863 GB, free: 82.25 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.697e-05/1.306, allocations: 81.52 kB / 0.9864 GB, free: 82.16 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003143/1.309, allocations: 2.282 MB / 0.9886 GB, free: 79.86 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.000456/1.309, allocations: 73.7 kB / 0.9887 GB, free: 79.79 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.00132/1.311, allocations: 2.279 MB / 0.9909 GB, free: 77.49 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007936/1.312, allocations: 0.9376 MB / 0.9918 GB, free: 76.56 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008429/1.312, allocations: 0.5062 MB / 0.9923 GB, free: 76.04 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 7.601e-05/1.313, allocations: 301.1 kB / 0.9926 GB, free: 75.75 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00218/1.315, allocations: 1.97 MB / 0.9945 GB, free: 73.77 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002503/1.317, allocations: 2.602 MB / 0.9971 GB, free: 70.93 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00485/1.322, allocations: 4.929 MB / 1.002 GB, free: 65.73 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-05/1.322, allocations: 12 kB / 1.002 GB, free: 65.71 MB / 0.7325 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01279/1.335, allocations: 7.752 MB / 1.009 GB, free: 57.89 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.627e-05/1.335, allocations: 16 kB / 1.009 GB, free: 57.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.346e-05/1.335, allocations: 19.98 kB / 1.01 GB, free: 57.86 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008468/1.344, allocations: 3.244 MB / 1.013 GB, free: 54.6 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001617/1.345, allocations: 399.4 kB / 1.013 GB, free: 54.21 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03702/1.382, allocations: 33.89 MB / 1.046 GB, free: 19.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003604/1.386, allocations: 167.8 kB / 1.046 GB, free: 19.32 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004742/1.386, allocations: 116 kB / 1.046 GB, free: 19.2 MB / 0.7325 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.003771/1.39, allocations: 1.801 MB / 1.048 GB, free: 17.39 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008139/1.391, allocations: 328.2 kB / 1.048 GB, free: 17.07 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01187/1.403, allocations: 7.364 MB / 1.056 GB, free: 9.621 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.203e-05/1.403, allocations: 27.94 kB / 1.056 GB, free: 9.594 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-05/1.403, allocations: 32 kB / 1.056 GB, free: 9.562 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.371e-05/1.403, allocations: 11.95 kB / 1.056 GB, free: 9.551 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02102/1.424, allocations: 12.92 MB / 1.068 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.186e-05/1.424, allocations: 8 kB / 1.068 GB, free: 12.49 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001012/1.425, allocations: 227.6 kB / 1.069 GB, free: 12.27 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008077/1.433, allocations: 2.879 MB / 1.071 GB, free: 9.371 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003161/1.434, allocations: 52 kB / 1.071 GB, free: 9.32 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04104/1.475, allocations: 32.7 MB / 1.103 GB, free: 7.789 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.546e-06/1.475, allocations: 11.94 kB / 1.103 GB, free: 7.777 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01217/1.487, allocations: 6.89 MB / 1.11 GB, free: 0.668 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002389/1.489, allocations: 0.7782 MB / 1.111 GB, free: 15.87 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005528/1.49, allocations: 52.38 kB / 1.111 GB, free: 15.82 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001707/1.492, allocations: 163.8 kB / 1.111 GB, free: 15.66 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009817/1.493, allocations: 253.5 kB / 1.111 GB, free: 15.41 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001855/1.493, allocations: 79.98 kB / 1.111 GB, free: 15.33 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.002272/1.495, allocations: 1.529 MB / 1.113 GB, free: 13.8 MB / 0.795 GB Notification: Performance of sort global known variables: time 3.21e-07/1.495, allocations: 0 / 1.113 GB, free: 13.8 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.004321/1.499, allocations: 1.371 MB / 1.114 GB, free: 12.43 MB / 0.795 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.0003779/1.5, allocations: 177.4 kB / 1.114 GB, free: 12.25 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.01417/1.514, allocations: 8.368 MB / 1.123 GB, free: 3.801 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.71e-05/1.514, allocations: 4 kB / 1.123 GB, free: 3.797 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.00784/1.522, allocations: 4.406 MB / 1.127 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005082/1.527, allocations: 1.117 MB / 1.128 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02318/1.55, allocations: 12.48 MB / 1.14 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005217/1.555, allocations: 3.646 MB / 1.144 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.002537/1.558, allocations: 0.5595 MB / 1.144 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004226/1.558, allocations: 155.4 kB / 1.144 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of SimCode: time 1.313e-06/1.558, allocations: 0 / 1.144 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of Templates: time 0.1332/1.692, allocations: 78.09 MB / 1.221 GB, free: 284 kB / 0.8887 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)