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.001123/0.001123, allocations: 99.23 kB / 15.05 MB, free: 1.105 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.001268/0.001268, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.49/1.49, allocations: 205.4 MB / 222.1 MB, free: 5.668 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.686/1.686, allocations: 292.6 MB / 0.5497 GB, free: 14.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.0005103/0.0005103, allocations: 21.52 kB / 0.6736 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2695/0.27, allocations: 116.3 MB / 0.7871 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01045/0.2805, allocations: 8.775 MB / 0.7957 GB, free: 3.156 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005823/0.2864, allocations: 3.071 MB / 0.7987 GB, free: 76 kB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006584/0.2871, allocations: 23.88 kB / 0.7987 GB, free: 52 kB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005198/0.2876, allocations: 187 kB / 0.7989 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001194/0.2888, allocations: 0.4945 MB / 0.7994 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001295/0.2901, allocations: 0.5176 MB / 0.7999 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001521/0.2917, allocations: 1.446 MB / 0.8013 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003567/0.2952, allocations: 2.703 MB / 0.8039 GB, free: 10.66 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001151/0.2964, allocations: 0.8177 MB / 0.8047 GB, free: 9.844 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001178/0.2976, allocations: 1.001 MB / 0.8057 GB, free: 8.84 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001756/0.2978, allocations: 112 kB / 0.8058 GB, free: 8.73 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005175/0.2983, allocations: 223.8 kB / 0.806 GB, free: 8.512 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0007187/0.299, allocations: 0.8459 MB / 0.8069 GB, free: 7.664 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0003274/0.2994, allocations: 384.8 kB / 0.8072 GB, free: 7.281 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002497/0.3019, allocations: 2.965 MB / 0.8101 GB, free: 4.309 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.3019, allocations: 0 / 0.8101 GB, free: 4.309 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.053e-06/0.3019, allocations: 0 / 0.8101 GB, free: 4.309 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 3.07e-05/0.3019, allocations: 0 / 0.8101 GB, free: 4.309 MB / 0.6231 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.00328/0.3052, allocations: 1.78 MB / 0.8119 GB, free: 2.473 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.3053, allocations: 8.031 kB / 0.8119 GB, free: 2.465 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008697/0.314, allocations: 1.433 MB / 0.8133 GB, free: 1.027 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002669/0.3166, allocations: 1.231 MB / 0.8145 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.742e-05/0.3167, allocations: 110.9 kB / 0.8146 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000286/0.317, allocations: 152 kB / 0.8147 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005098/0.3221, allocations: 3.41 MB / 0.818 GB, free: 11.99 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.702e-05/0.3222, allocations: 7.938 kB / 0.8181 GB, free: 11.98 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002068/0.3224, allocations: 67.97 kB / 0.8181 GB, free: 11.91 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002607/0.3227, allocations: 199.1 kB / 0.8183 GB, free: 11.72 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004646/0.3273, allocations: 3.12 MB / 0.8214 GB, free: 8.594 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.018/0.3453, allocations: 13.6 MB / 0.8346 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002422/0.3478, allocations: 1.716 MB / 0.8363 GB, free: 8.398 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.533e-05/0.3479, allocations: 9 kB / 0.8363 GB, free: 8.391 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/0.3479, allocations: 47.55 kB / 0.8364 GB, free: 8.336 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=104): time 2.345e-06/0.348, allocations: 7.938 kB / 0.8364 GB, free: 8.328 MB / 0.6544 GB Notification: Performance of matching and sorting (n=183): time 0.1394/0.4874, allocations: 35.95 MB / 0.8715 GB, free: 4.238 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.807e-05/0.4875, allocations: 81.41 kB / 0.8716 GB, free: 4.145 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001507/0.489, allocations: 1.042 MB / 0.8726 GB, free: 3.078 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0002714/0.4893, allocations: 53.7 kB / 0.8726 GB, free: 3.02 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006149/0.4899, allocations: 0.7912 MB / 0.8734 GB, free: 2.215 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.000573/0.4905, allocations: 0.6238 MB / 0.874 GB, free: 1.582 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002286/0.4908, allocations: 40 kB / 0.874 GB, free: 1.543 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001677/0.4909, allocations: 385.9 kB / 0.8744 GB, free: 1.16 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002827/0.4938, allocations: 1.924 MB / 0.8763 GB, free: 15.23 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002791/0.4966, allocations: 2.273 MB / 0.8785 GB, free: 12.84 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002839/0.4994, allocations: 2.215 MB / 0.8807 GB, free: 10.62 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.4994, allocations: 0 / 0.8807 GB, free: 10.62 MB / 0.7012 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01936/0.5188, allocations: 8.997 MB / 0.8895 GB, free: 1.602 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 4.133e-05/0.5189, allocations: 15.95 kB / 0.8895 GB, free: 1.586 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.121e-05/0.5189, allocations: 8 kB / 0.8895 GB, free: 1.578 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0164/0.5353, allocations: 4.978 MB / 0.8943 GB, free: 12.59 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009917/0.5363, allocations: 187.7 kB / 0.8945 GB, free: 12.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5045/1.041, allocations: 36.83 MB / 0.9305 GB, free: 121.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002068/1.043, allocations: 102.2 kB / 0.9306 GB, free: 121.9 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001749/1.043, allocations: 70.28 kB / 0.9306 GB, free: 121.9 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 (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 {(8,100.0%) 16,(8,100.0%) 16,(8,100.0%) 38,(8,100.0%) 38} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001446/1.045, allocations: 0.8013 MB / 0.9314 GB, free: 121.6 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002554/1.045, allocations: 140.2 kB / 0.9316 GB, free: 121.6 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01956/1.064, allocations: 8.881 MB / 0.9402 GB, free: 119 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-05/1.064, allocations: 18.97 kB / 0.9403 GB, free: 119 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.599e-05/1.065, allocations: 32.69 kB / 0.9403 GB, free: 119 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.693e-05/1.065, allocations: 10.03 kB / 0.9403 GB, free: 119 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02603/1.091, allocations: 13.14 MB / 0.9531 GB, free: 114.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.988e-05/1.091, allocations: 5.344 kB / 0.9531 GB, free: 114.8 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005566/1.091, allocations: 123.4 kB / 0.9532 GB, free: 114.8 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01553/1.107, allocations: 4.755 MB / 0.9579 GB, free: 113.7 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000344/1.107, allocations: 31.91 kB / 0.9579 GB, free: 113.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04159/1.149, allocations: 32.99 MB / 0.9901 GB, free: 86.97 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/1.149, allocations: 4 kB / 0.9901 GB, free: 86.96 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01662/1.166, allocations: 8.564 MB / 0.9985 GB, free: 78.23 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001548/1.167, allocations: 0.6124 MB / 0.9991 GB, free: 77.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000269/1.167, allocations: 36 kB / 0.9991 GB, free: 77.56 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001239/1.169, allocations: 92.77 kB / 0.9992 GB, free: 77.47 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007309/1.169, allocations: 164.3 kB / 0.9994 GB, free: 77.32 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001281/1.169, allocations: 48 kB / 0.9994 GB, free: 77.27 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000804/1.17, allocations: 0.7304 MB / 1 GB, free: 76.53 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/1.17, allocations: 0 / 1 GB, free: 76.53 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002998/1.173, allocations: 1.008 MB / 1.001 GB, free: 75.52 MB / 0.7325 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 (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 {(8,100.0%) 16,(8,100.0%) 38,(8,100.0%) 8,(14,77.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002924/1.174, allocations: 148.6 kB / 1.001 GB, free: 75.38 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.008123/1.182, allocations: 5.831 MB / 1.007 GB, free: 69.5 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.478e-06/1.182, allocations: 0 / 1.007 GB, free: 69.5 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.006959/1.189, allocations: 3.774 MB / 1.011 GB, free: 65.68 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001367/1.19, allocations: 194.7 kB / 1.011 GB, free: 65.5 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006451/1.197, allocations: 5.633 MB / 1.016 GB, free: 59.83 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001284/1.198, allocations: 1.895 MB / 1.018 GB, free: 57.9 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0007995/1.199, allocations: 348.2 kB / 1.019 GB, free: 57.56 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001577/1.199, allocations: 63.42 kB / 1.019 GB, free: 57.5 MB / 0.7325 GB Notification: Performance of SimCode: time 9.61e-07/1.199, allocations: 0 / 1.019 GB, free: 57.5 MB / 0.7325 GB Notification: Performance of Templates: time 0.06491/1.264, allocations: 54.45 MB / 1.072 GB, free: 3.18 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: