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.001298/0.001298, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001563/0.001564, allocations: 195.1 kB / 16.25 MB, free: 6.617 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.343/1.343, allocations: 205.1 MB / 222.1 MB, free: 4.711 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.668/1.668, allocations: 292.3 MB / 0.5486 GB, free: 13.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.001488/0.001488, allocations: 71.92 kB / 0.6711 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2334/0.2349, allocations: 114.6 MB / 0.783 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01237/0.2473, allocations: 10.07 MB / 0.7928 GB, free: 3.699 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005534/0.2529, allocations: 3.186 MB / 0.7959 GB, free: 0.5 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006438/0.2536, allocations: 35.81 kB / 0.796 GB, free: 476 kB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001576/0.2552, allocations: 0.5368 MB / 0.7965 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00149/0.2567, allocations: 0.6925 MB / 0.7972 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001444/0.2581, allocations: 0.6813 MB / 0.7978 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003158/0.2613, allocations: 3.008 MB / 0.8008 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003957/0.2653, allocations: 3.071 MB / 0.8038 GB, free: 8.422 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00191/0.2672, allocations: 1.266 MB / 0.805 GB, free: 7.152 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002067/0.2693, allocations: 1.659 MB / 0.8066 GB, free: 5.488 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0003123/0.2696, allocations: 236 kB / 0.8068 GB, free: 5.258 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009425/0.2705, allocations: 0.4916 MB / 0.8073 GB, free: 4.766 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0009388/0.2715, allocations: 1.08 MB / 0.8084 GB, free: 3.684 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001048/0.2725, allocations: 1.109 MB / 0.8095 GB, free: 2.57 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003161/0.2757, allocations: 3.693 MB / 0.8131 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.2757, allocations: 0 / 0.8131 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.635e-06/0.2757, allocations: 0 / 0.8131 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 4.169e-05/0.2758, allocations: 4 kB / 0.8131 GB, free: 14.86 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.003807/0.2796, allocations: 2.138 MB / 0.8152 GB, free: 12.67 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.2796, allocations: 8.031 kB / 0.8152 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003541/0.28, allocations: 265.2 kB / 0.8154 GB, free: 12.39 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008586/0.2886, allocations: 1.313 MB / 0.8167 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00208/0.2907, allocations: 1.255 MB / 0.8179 GB, free: 9.773 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.138e-05/0.2908, allocations: 115.4 kB / 0.818 GB, free: 9.66 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000294/0.2911, allocations: 144.3 kB / 0.8182 GB, free: 9.52 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005162/0.2963, allocations: 3.445 MB / 0.8215 GB, free: 5.977 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.018e-05/0.2963, allocations: 7.844 kB / 0.8215 GB, free: 5.969 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002094/0.2965, allocations: 63.97 kB / 0.8216 GB, free: 5.906 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002527/0.2968, allocations: 207.1 kB / 0.8218 GB, free: 5.703 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004724/0.3015, allocations: 3.124 MB / 0.8249 GB, free: 2.574 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0166/0.3181, allocations: 13.63 MB / 0.8382 GB, free: 4.07 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002415/0.3206, allocations: 1.724 MB / 0.8398 GB, free: 2.336 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001868/0.3225, allocations: 1.441 MB / 0.8413 GB, free: 0.8906 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 9.527e-05/0.3226, allocations: 9 kB / 0.8413 GB, free: 0.8789 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.905e-05/0.3226, allocations: 43.56 kB / 0.8413 GB, free: 0.8281 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=104): time 2.866e-06/0.3226, allocations: 0 / 0.8413 GB, free: 0.8281 MB / 0.6544 GB Notification: Performance of matching and sorting (n=183): time 0.1332/0.4559, allocations: 36.68 MB / 0.8771 GB, free: 12 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.934e-05/0.4559, allocations: 69.41 kB / 0.8772 GB, free: 11.93 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001404/0.4573, allocations: 1.057 MB / 0.8782 GB, free: 10.84 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0002306/0.4576, allocations: 53.7 kB / 0.8783 GB, free: 10.79 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005374/0.4581, allocations: 0.7835 MB / 0.879 GB, free: 9.988 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005813/0.4587, allocations: 0.6316 MB / 0.8797 GB, free: 9.348 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007285/0.4595, allocations: 363.3 kB / 0.88 GB, free: 8.984 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.4596, allocations: 301.1 kB / 0.8803 GB, free: 8.688 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002561/0.4621, allocations: 1.928 MB / 0.8822 GB, free: 6.758 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002754/0.4649, allocations: 2.293 MB / 0.8844 GB, free: 4.344 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005449/0.4704, allocations: 4.387 MB / 0.8887 GB, free: 15.83 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.665e-06/0.4704, allocations: 4 kB / 0.8887 GB, free: 15.83 MB / 0.7169 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01928/0.4897, allocations: 9.021 MB / 0.8975 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.953e-05/0.4897, allocations: 16 kB / 0.8975 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.978e-05/0.4898, allocations: 11.98 kB / 0.8975 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01674/0.5065, allocations: 5.004 MB / 0.9024 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008709/0.5074, allocations: 187.7 kB / 0.9026 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4234/0.9308, allocations: 38.92 MB / 0.9406 GB, free: 118 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002017/0.9328, allocations: 105.4 kB / 0.9407 GB, free: 118 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002221/0.9331, allocations: 68.19 kB / 0.9408 GB, free: 117.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 (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.001572/0.9347, allocations: 0.7988 MB / 0.9416 GB, free: 117.6 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003764/0.935, allocations: 140.2 kB / 0.9417 GB, free: 117.5 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01971/0.9548, allocations: 8.905 MB / 0.9504 GB, free: 114.9 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.391e-05/0.9548, allocations: 22.28 kB / 0.9504 GB, free: 114.9 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.154e-05/0.9549, allocations: 28.66 kB / 0.9504 GB, free: 114.9 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.107e-05/0.955, allocations: 9.75 kB / 0.9504 GB, free: 114.9 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02588/0.9808, allocations: 13.3 MB / 0.9634 GB, free: 109.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.092e-05/0.9809, allocations: 3.688 kB / 0.9634 GB, free: 109.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004482/0.9814, allocations: 120.5 kB / 0.9635 GB, free: 109.4 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01459/0.996, allocations: 4.798 MB / 0.9682 GB, free: 107 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002895/0.9963, allocations: 41.47 kB / 0.9683 GB, free: 107 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04055/1.037, allocations: 34.85 MB / 1.002 GB, free: 73.97 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/1.037, allocations: 4 kB / 1.002 GB, free: 73.96 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01603/1.053, allocations: 8.41 MB / 1.011 GB, free: 65.47 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001083/1.054, allocations: 0.6152 MB / 1.011 GB, free: 64.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002753/1.054, allocations: 37.56 kB / 1.011 GB, free: 64.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001179/1.056, allocations: 87.88 kB / 1.011 GB, free: 64.72 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001047/1.057, allocations: 165.7 kB / 1.011 GB, free: 64.56 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001452/1.057, allocations: 48 kB / 1.011 GB, free: 64.51 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009279/1.058, allocations: 0.7382 MB / 1.012 GB, free: 63.76 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/1.058, allocations: 0 / 1.012 GB, free: 63.76 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003141/1.061, allocations: 1.004 MB / 1.013 GB, free: 62.76 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.01599/1.077, allocations: 9 MB / 1.022 GB, free: 53.66 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.009437/1.086, allocations: 6.678 MB / 1.028 GB, free: 46.95 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.293e-06/1.086, allocations: 4.188 kB / 1.028 GB, free: 46.95 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.006448/1.093, allocations: 3.833 MB / 1.032 GB, free: 43.07 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001475/1.094, allocations: 249.4 kB / 1.032 GB, free: 42.84 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04993/1.144, allocations: 32.5 MB / 1.064 GB, free: 9.48 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001404/1.146, allocations: 1.861 MB / 1.066 GB, free: 7.586 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0009372/1.147, allocations: 356.6 kB / 1.066 GB, free: 7.238 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005842/1.147, allocations: 0.6047 MB / 1.067 GB, free: 6.633 MB / 0.7325 GB Notification: Performance of SimCode: time 9.62e-07/1.147, allocations: 0 / 1.067 GB, free: 6.633 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1119/1.259, allocations: 74.76 MB / 1.14 GB, free: 12.26 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00019/1.259, allocations: 258.5 kB / 1.14 GB, free: 12 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.726/3.985, allocations: 0 / 1.14 GB, free: 12 MB / 0.8106 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)