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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001523/0.001523, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001768/0.001768, allocations: 193.7 kB / 16.14 MB, free: 6.668 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.385/1.385, allocations: 205.1 MB / 222 MB, free: 4.926 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.59/1.59, allocations: 292.3 MB / 0.5484 GB, free: 13.67 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.001331/0.001331, allocations: 70.73 kB / 0.6709 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1996/0.201, allocations: 114.5 MB / 0.7828 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01018/0.2112, allocations: 10.07 MB / 0.7926 GB, free: 3.809 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004538/0.2157, allocations: 3.21 MB / 0.7958 GB, free: 0.5859 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004277/0.2162, allocations: 31.81 kB / 0.7958 GB, free: 0.5547 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00126/0.2174, allocations: 0.5523 MB / 0.7963 GB, free: 0 / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001155/0.2186, allocations: 0.7042 MB / 0.797 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001192/0.2198, allocations: 0.6815 MB / 0.7977 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003269/0.2231, allocations: 4.482 MB / 0.8021 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003165/0.2263, allocations: 2.831 MB / 0.8048 GB, free: 7.25 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001206/0.2275, allocations: 1.067 MB / 0.8059 GB, free: 6.18 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00159/0.2291, allocations: 1.613 MB / 0.8075 GB, free: 4.562 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002496/0.2294, allocations: 164 kB / 0.8076 GB, free: 4.402 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008424/0.2302, allocations: 0.4915 MB / 0.8081 GB, free: 3.91 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0007959/0.231, allocations: 1.013 MB / 0.8091 GB, free: 2.895 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0008916/0.2319, allocations: 1.03 MB / 0.8101 GB, free: 1.859 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002539/0.2345, allocations: 3.626 MB / 0.8136 GB, free: 14.22 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.2345, allocations: 0 / 0.8136 GB, free: 14.22 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2345, allocations: 0 / 0.8136 GB, free: 14.22 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.748e-05/0.2346, allocations: 4 kB / 0.8136 GB, free: 14.22 MB / 0.6387 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.003876/0.2385, allocations: 2.142 MB / 0.8157 GB, free: 12.02 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.2385, allocations: 8.031 kB / 0.8157 GB, free: 12.01 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003358/0.2389, allocations: 257.2 kB / 0.816 GB, free: 11.75 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008176/0.247, allocations: 1.321 MB / 0.8173 GB, free: 10.43 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002294/0.2494, allocations: 1.251 MB / 0.8185 GB, free: 9.133 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.948e-05/0.2495, allocations: 111.4 kB / 0.8186 GB, free: 9.023 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003156/0.2498, allocations: 152.3 kB / 0.8187 GB, free: 8.875 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004699/0.2545, allocations: 3.441 MB / 0.8221 GB, free: 5.336 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.152e-05/0.2545, allocations: 0 / 0.8221 GB, free: 5.336 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002054/0.2547, allocations: 67.97 kB / 0.8222 GB, free: 5.27 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002243/0.255, allocations: 207.1 kB / 0.8224 GB, free: 5.066 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00435/0.2593, allocations: 3.12 MB / 0.8254 GB, free: 1.941 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01571/0.2751, allocations: 13.62 MB / 0.8387 GB, free: 3.445 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002314/0.2774, allocations: 1.728 MB / 0.8404 GB, free: 1.707 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001815/0.2792, allocations: 1.441 MB / 0.8418 GB, free: 268 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 9.491e-05/0.2793, allocations: 9 kB / 0.8418 GB, free: 256 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/0.2794, allocations: 51.55 kB / 0.8419 GB, free: 196 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=104): time 2.735e-06/0.2794, allocations: 0 / 0.8419 GB, free: 196 kB / 0.6544 GB Notification: Performance of matching and sorting (n=183): time 0.1315/0.4109, allocations: 36.67 MB / 0.8777 GB, free: 11.38 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.992e-05/0.4109, allocations: 73.39 kB / 0.8777 GB, free: 11.29 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001283/0.4122, allocations: 1.053 MB / 0.8788 GB, free: 10.21 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0002295/0.4125, allocations: 53.7 kB / 0.8788 GB, free: 10.15 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004321/0.4129, allocations: 0.7873 MB / 0.8796 GB, free: 9.355 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005093/0.4134, allocations: 0.6238 MB / 0.8802 GB, free: 8.723 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007126/0.4141, allocations: 359.4 kB / 0.8805 GB, free: 8.367 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 7.78e-05/0.4142, allocations: 305.1 kB / 0.8808 GB, free: 8.066 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00254/0.4168, allocations: 1.928 MB / 0.8827 GB, free: 6.137 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002785/0.4196, allocations: 2.289 MB / 0.8849 GB, free: 3.723 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005572/0.4252, allocations: 4.395 MB / 0.8892 GB, free: 15.2 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/0.4252, allocations: 4 kB / 0.8892 GB, free: 15.2 MB / 0.7169 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01905/0.4443, allocations: 9.029 MB / 0.8981 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.638e-05/0.4443, allocations: 8 kB / 0.8981 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.624e-05/0.4443, allocations: 8 kB / 0.8981 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01672/0.4611, allocations: 4.981 MB / 0.9029 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000827/0.4619, allocations: 191.6 kB / 0.9031 GB, free: 0.9414 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3601/0.822, allocations: 35.27 MB / 0.9376 GB, free: 119.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001728/0.8238, allocations: 105.7 kB / 0.9377 GB, free: 119.8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002072/0.824, allocations: 69.5 kB / 0.9377 GB, free: 119.8 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.001236/0.8253, allocations: 0.7971 MB / 0.9385 GB, free: 119.4 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003144/0.8256, allocations: 147.8 kB / 0.9386 GB, free: 119.4 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01833/0.8439, allocations: 8.896 MB / 0.9473 GB, free: 116.7 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-05/0.844, allocations: 17.59 kB / 0.9473 GB, free: 116.7 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.817e-05/0.844, allocations: 29.92 kB / 0.9474 GB, free: 116.7 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.399e-05/0.8441, allocations: 9.047 kB / 0.9474 GB, free: 116.7 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02287/0.8669, allocations: 13.31 MB / 0.9604 GB, free: 111.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.828e-05/0.867, allocations: 6.406 kB / 0.9604 GB, free: 111.7 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004468/0.8674, allocations: 121.2 kB / 0.9605 GB, free: 111.7 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01431/0.8818, allocations: 4.758 MB / 0.9652 GB, free: 109.3 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002555/0.882, allocations: 27.72 kB / 0.9652 GB, free: 109.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03668/0.9187, allocations: 31.59 MB / 0.996 GB, free: 80.23 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/0.9188, allocations: 6.312 kB / 0.996 GB, free: 80.23 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01578/0.9346, allocations: 8.412 MB / 1.004 GB, free: 71.73 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001103/0.9357, allocations: 0.6091 MB / 1.005 GB, free: 71.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002755/0.936, allocations: 38.81 kB / 1.005 GB, free: 71.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001077/0.9371, allocations: 95.83 kB / 1.005 GB, free: 70.98 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007401/0.9378, allocations: 153.7 kB / 1.005 GB, free: 70.83 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001399/0.938, allocations: 52 kB / 1.005 GB, free: 70.78 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007465/0.9387, allocations: 0.7382 MB / 1.006 GB, free: 70.03 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.11e-07/0.9387, allocations: 0 / 1.006 GB, free: 70.03 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002515/0.9412, allocations: 1.012 MB / 1.007 GB, free: 69.02 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 (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.01534/0.9566, allocations: 8.985 MB / 1.016 GB, free: 59.94 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00761/0.9642, allocations: 5.842 MB / 1.021 GB, free: 54.05 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.117e-06/0.9643, allocations: 192 / 1.021 GB, free: 54.05 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.006126/0.9704, allocations: 3.85 MB / 1.025 GB, free: 50.17 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001461/0.9719, allocations: 233.2 kB / 1.025 GB, free: 49.95 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04804/1.02, allocations: 32.49 MB / 1.057 GB, free: 16.58 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001261/1.021, allocations: 1.859 MB / 1.059 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0007497/1.022, allocations: 348.5 kB / 1.059 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005335/1.023, allocations: 0.6086 MB / 1.06 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of SimCode: time 8.42e-07/1.023, allocations: 0 / 1.06 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1352/1.158, allocations: 72.73 MB / 1.131 GB, free: 5.363 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002406/1.158, allocations: 257.2 kB / 1.131 GB, free: 5.109 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.624/3.782, allocations: 64 / 1.131 GB, free: 5.109 MB / 0.795 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1)