Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 105.3 kB / 16.36 MB, free: 6.309 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.001198/0.001198, allocations: 192.1 kB / 17.29 MB, free: 5.875 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.504/1.504, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.886/1.886, allocations: 292.3 MB / 0.5496 GB, free: 17.64 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.001493/0.001494, allocations: 71.89 kB / 0.6729 GB, free: 5.805 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2371/0.2386, allocations: 114.6 MB / 0.7848 GB, free: 3.133 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.363/0.6016, allocations: 10.09 MB / 0.7946 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.004482/0.6061, allocations: 3.211 MB / 0.7978 GB, free: 43.18 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005904/0.6068, allocations: 37.75 kB / 0.7978 GB, free: 43.18 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001337/0.6082, allocations: 0.5941 MB / 0.7984 GB, free: 42.95 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001249/0.6094, allocations: 0.7386 MB / 0.7991 GB, free: 42.54 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001333/0.6108, allocations: 0.739 MB / 0.7998 GB, free: 42.18 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.002505/0.6133, allocations: 2.997 MB / 0.8028 GB, free: 40.93 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002832/0.6162, allocations: 2.604 MB / 0.8053 GB, free: 40.07 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002019/0.6182, allocations: 1.264 MB / 0.8065 GB, free: 39.53 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002951/0.6212, allocations: 1.551 MB / 0.8081 GB, free: 38.92 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0008139/0.622, allocations: 235.8 kB / 0.8083 GB, free: 38.92 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001545/0.6235, allocations: 0.5035 MB / 0.8088 GB, free: 38.82 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.00155/0.6251, allocations: 1.07 MB / 0.8098 GB, free: 38.42 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001963/0.6271, allocations: 1.107 MB / 0.8109 GB, free: 37.73 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.004925/0.632, allocations: 3.693 MB / 0.8145 GB, free: 36.59 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.6321, allocations: 4.562 kB / 0.8145 GB, free: 36.59 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.944e-06/0.6321, allocations: 0 / 0.8145 GB, free: 36.59 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001085/0.6322, allocations: 1.344 kB / 0.8145 GB, free: 36.59 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.005739/0.6379, allocations: 2.137 MB / 0.8166 GB, free: 35.3 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.638, allocations: 9.703 kB / 0.8166 GB, free: 35.3 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009405/0.6474, allocations: 1.323 MB / 0.8179 GB, free: 35.12 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003254/0.6507, allocations: 1.299 MB / 0.8192 GB, free: 34.42 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001092/0.6508, allocations: 111.8 kB / 0.8193 GB, free: 34.37 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006099/0.6514, allocations: 144.6 kB / 0.8194 GB, free: 34.32 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006116/0.6576, allocations: 3.443 MB / 0.8228 GB, free: 33.02 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.439e-05/0.6576, allocations: 5.969 kB / 0.8228 GB, free: 33.01 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002364/0.6579, allocations: 64.16 kB / 0.8228 GB, free: 32.96 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002717/0.6581, allocations: 204.9 kB / 0.823 GB, free: 32.94 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005597/0.6638, allocations: 3.125 MB / 0.8261 GB, free: 31.93 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01905/0.6828, allocations: 13.55 MB / 0.8393 GB, free: 22.89 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002494/0.6854, allocations: 1.73 MB / 0.841 GB, free: 22.11 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001811/0.6872, allocations: 1.438 MB / 0.8424 GB, free: 21.4 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001042/0.6873, allocations: 13.89 kB / 0.8424 GB, free: 21.39 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.099e-05/0.6873, allocations: 44.47 kB / 0.8425 GB, free: 21.35 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=104): time 3.407e-06/0.6874, allocations: 0 / 0.8425 GB, free: 21.35 MB / 0.6544 GB Notification: Performance of matching and sorting (n=183): time 0.148/0.8354, allocations: 36.67 MB / 0.8783 GB, free: 9.715 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.106e-05/0.8355, allocations: 71 kB / 0.8784 GB, free: 9.637 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00157/0.8371, allocations: 1.05 MB / 0.8794 GB, free: 8.562 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0004581/0.8375, allocations: 53.7 kB / 0.8794 GB, free: 8.504 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005269/0.8381, allocations: 0.7912 MB / 0.8802 GB, free: 7.699 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007381/0.8388, allocations: 0.6238 MB / 0.8808 GB, free: 7.066 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008038/0.8396, allocations: 363.4 kB / 0.8812 GB, free: 6.703 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 9.932e-05/0.8397, allocations: 309.1 kB / 0.8815 GB, free: 6.398 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002725/0.8425, allocations: 1.924 MB / 0.8833 GB, free: 4.469 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002971/0.8455, allocations: 2.292 MB / 0.8856 GB, free: 2.055 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006122/0.8516, allocations: 4.39 MB / 0.8899 GB, free: 13.54 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.294e-05/0.8516, allocations: 4 kB / 0.8899 GB, free: 13.53 MB / 0.6856 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02147/0.8731, allocations: 9.022 MB / 0.8987 GB, free: 4.48 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.426e-05/0.8732, allocations: 20.66 kB / 0.8987 GB, free: 4.461 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.177e-05/0.8732, allocations: 8.656 kB / 0.8987 GB, free: 4.453 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.018/0.8912, allocations: 4.972 MB / 0.9036 GB, free: 15.46 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009256/0.8922, allocations: 191.7 kB / 0.9037 GB, free: 15.28 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05925/0.9514, allocations: 38.9 MB / 0.9417 GB, free: 7.809 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002394/0.9539, allocations: 104.3 kB / 0.9418 GB, free: 7.711 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003142/0.9542, allocations: 67.98 kB / 0.9419 GB, free: 7.645 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001566/0.9558, allocations: 0.8095 MB / 0.9427 GB, free: 6.824 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003825/0.9562, allocations: 146.3 kB / 0.9428 GB, free: 6.68 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02092/0.9771, allocations: 8.886 MB / 0.9515 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.026e-05/0.9772, allocations: 16 kB / 0.9515 GB, free: 13.74 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.495e-05/0.9772, allocations: 32 kB / 0.9515 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-05/0.9773, allocations: 11.97 kB / 0.9516 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02886/1.006, allocations: 13.26 MB / 0.9645 GB, free: 284 kB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.448e-05/1.006, allocations: 12.08 kB / 0.9645 GB, free: 272 kB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005381/1.007, allocations: 115.8 kB / 0.9646 GB, free: 156 kB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01783/1.025, allocations: 4.757 MB / 0.9693 GB, free: 11.38 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005395/1.025, allocations: 36 kB / 0.9693 GB, free: 11.34 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05489/1.08, allocations: 34.85 MB / 1.003 GB, free: 7.93 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.203e-06/1.08, allocations: 4 kB / 1.003 GB, free: 7.926 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02057/1.101, allocations: 8.408 MB / 1.012 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00166/1.102, allocations: 0.6085 MB / 1.012 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004295/1.103, allocations: 39.88 kB / 1.012 GB, free: 14.76 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001462/1.104, allocations: 95.89 kB / 1.012 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000776/1.105, allocations: 161.6 kB / 1.012 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001642/1.105, allocations: 44 kB / 1.012 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001062/1.106, allocations: 0.7382 MB / 1.013 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.41e-07/1.106, allocations: 0 / 1.013 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.003482/1.11, allocations: 1.012 MB / 1.014 GB, free: 12.7 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (66): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (14,24,80.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003567/1.11, allocations: 143 kB / 1.014 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.01041/1.121, allocations: 5.88 MB / 1.02 GB, free: 6.629 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 7.804e-06/1.121, allocations: 0 / 1.02 GB, free: 6.629 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.008477/1.129, allocations: 3.838 MB / 1.024 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001887/1.131, allocations: 234.1 kB / 1.024 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009031/1.14, allocations: 5.226 MB / 1.029 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001898/1.142, allocations: 1.886 MB / 1.031 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003674/1.142, allocations: 71.42 kB / 1.031 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of SimCode: time 7.62e-07/1.142, allocations: 0 / 1.031 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of Templates: time 0.07848/1.221, allocations: 69.02 MB / 1.098 GB, free: 6.238 MB / 0.8887 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1)