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.0007768/0.0007768, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.005483/0.005483, allocations: 168.8 kB / 16.26 MB, free: 6.652 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.369/1.369, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.618/1.618, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0005283/0.0005283, allocations: 15.78 kB / 0.6744 GB, free: 25.91 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2385/0.239, allocations: 116.3 MB / 0.788 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01093/0.25, allocations: 9.607 MB / 0.7974 GB, free: 1.816 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005689/0.2557, allocations: 3.183 MB / 0.8005 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009597/0.2567, allocations: 31.81 kB / 0.8005 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.000692/0.2575, allocations: 178.6 kB / 0.8007 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001949/0.2594, allocations: 0.7042 MB / 0.8014 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001618/0.2611, allocations: 0.6397 MB / 0.802 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004398/0.2655, allocations: 4.482 MB / 0.8064 GB, free: 8.574 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004673/0.2702, allocations: 3.146 MB / 0.8095 GB, free: 5.371 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001822/0.272, allocations: 0.9379 MB / 0.8104 GB, free: 4.43 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002399/0.2744, allocations: 1.46 MB / 0.8118 GB, free: 2.965 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0005733/0.275, allocations: 112 kB / 0.8119 GB, free: 2.855 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001334/0.2763, allocations: 463.2 kB / 0.8124 GB, free: 2.402 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001339/0.2777, allocations: 0.9275 MB / 0.8133 GB, free: 1.473 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001708/0.2794, allocations: 0.9657 MB / 0.8142 GB, free: 0.4961 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003488/0.2829, allocations: 3.52 MB / 0.8176 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.2829, allocations: 0 / 0.8176 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.954e-06/0.2829, allocations: 0 / 0.8176 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 4.153e-05/0.283, allocations: 0 / 0.8176 GB, free: 12.96 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.003182/0.2862, allocations: 1.772 MB / 0.8194 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.2862, allocations: 8.031 kB / 0.8194 GB, free: 11.13 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000322/0.2866, allocations: 261.2 kB / 0.8196 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008587/0.2952, allocations: 1.309 MB / 0.8209 GB, free: 9.551 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002328/0.2975, allocations: 1.259 MB / 0.8221 GB, free: 8.25 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.945e-05/0.2976, allocations: 115.4 kB / 0.8222 GB, free: 8.137 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002954/0.2979, allocations: 144.3 kB / 0.8224 GB, free: 7.996 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004996/0.3029, allocations: 3.449 MB / 0.8258 GB, free: 4.449 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.7e-05/0.303, allocations: 4 kB / 0.8258 GB, free: 4.445 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002039/0.3032, allocations: 63.97 kB / 0.8258 GB, free: 4.383 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002372/0.3034, allocations: 207.1 kB / 0.826 GB, free: 4.18 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004581/0.308, allocations: 3.131 MB / 0.8291 GB, free: 1.043 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01667/0.3247, allocations: 13.59 MB / 0.8423 GB, free: 2.578 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002447/0.3272, allocations: 1.726 MB / 0.844 GB, free: 0.8438 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0019/0.3291, allocations: 1.433 MB / 0.8454 GB, free: 15.4 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 7.502e-05/0.3292, allocations: 16.94 kB / 0.8454 GB, free: 15.38 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.436e-05/0.3292, allocations: 43.56 kB / 0.8455 GB, free: 15.33 MB / 0.67 GB Notification: Performance of pre-optimization done (n=104): time 3.717e-06/0.3292, allocations: 0 / 0.8455 GB, free: 15.33 MB / 0.67 GB Notification: Performance of matching and sorting (n=183): time 0.1453/0.4746, allocations: 35.97 MB / 0.8806 GB, free: 11.23 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.824e-05/0.4747, allocations: 73.34 kB / 0.8807 GB, free: 11.14 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001605/0.4763, allocations: 1.053 MB / 0.8817 GB, free: 10.06 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0002639/0.4766, allocations: 53.7 kB / 0.8818 GB, free: 10 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005203/0.4771, allocations: 0.7874 MB / 0.8825 GB, free: 9.203 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006947/0.4778, allocations: 0.6237 MB / 0.8831 GB, free: 8.57 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003611/0.4782, allocations: 157.6 kB / 0.8833 GB, free: 8.41 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 9.091e-05/0.4783, allocations: 301.1 kB / 0.8836 GB, free: 8.113 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002746/0.481, allocations: 1.932 MB / 0.8855 GB, free: 6.18 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002964/0.484, allocations: 2.289 MB / 0.8877 GB, free: 3.77 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005767/0.4898, allocations: 4.392 MB / 0.892 GB, free: 15.25 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.967e-06/0.4898, allocations: 0 / 0.892 GB, free: 15.25 MB / 0.7169 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02062/0.5104, allocations: 9.023 MB / 0.9008 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.146e-05/0.5105, allocations: 8 kB / 0.9008 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.391e-05/0.5105, allocations: 8 kB / 0.9008 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01814/0.5287, allocations: 4.978 MB / 0.9057 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000921/0.5296, allocations: 191.7 kB / 0.9059 GB, free: 1 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4492/0.9789, allocations: 35.14 MB / 0.9402 GB, free: 118.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002112/0.981, allocations: 99.75 kB / 0.9403 GB, free: 118.6 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002445/0.9813, allocations: 67.48 kB / 0.9403 GB, free: 118.6 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.001605/0.9829, allocations: 0.8032 MB / 0.9411 GB, free: 118.2 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003942/0.9833, allocations: 145.8 kB / 0.9413 GB, free: 118.2 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0207/1.004, allocations: 8.896 MB / 0.9499 GB, free: 115.5 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.622e-05/1.004, allocations: 17.34 kB / 0.95 GB, free: 115.5 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001305/1.004, allocations: 31.84 kB / 0.95 GB, free: 115.5 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.62e-05/1.004, allocations: 8.203 kB / 0.95 GB, free: 115.5 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02542/1.03, allocations: 13.27 MB / 0.963 GB, free: 110.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.601e-05/1.03, allocations: 7.531 kB / 0.963 GB, free: 110.6 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004553/1.03, allocations: 120.6 kB / 0.9631 GB, free: 110.6 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01496/1.045, allocations: 4.766 MB / 0.9677 GB, free: 108.2 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003102/1.046, allocations: 33.94 kB / 0.9678 GB, free: 108.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03926/1.085, allocations: 31.45 MB / 0.9985 GB, free: 79.26 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/1.085, allocations: 4 kB / 0.9985 GB, free: 79.25 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0164/1.101, allocations: 8.401 MB / 1.007 GB, free: 70.77 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00103/1.102, allocations: 0.622 MB / 1.007 GB, free: 70.13 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002403/1.103, allocations: 35.98 kB / 1.007 GB, free: 70.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001252/1.104, allocations: 91.89 kB / 1.007 GB, free: 70 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007661/1.105, allocations: 163.8 kB / 1.008 GB, free: 69.84 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001282/1.105, allocations: 44 kB / 1.008 GB, free: 69.8 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007561/1.105, allocations: 0.7382 MB / 1.008 GB, free: 69.05 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/1.105, allocations: 0 / 1.008 GB, free: 69.05 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002728/1.108, allocations: 1.004 MB / 1.009 GB, free: 68.05 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.01655/1.125, allocations: 8.99 MB / 1.018 GB, free: 58.96 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.008253/1.133, allocations: 5.832 MB / 1.024 GB, free: 53.09 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/1.133, allocations: 8 kB / 1.024 GB, free: 53.08 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.006457/1.14, allocations: 3.797 MB / 1.027 GB, free: 49.24 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001786/1.141, allocations: 229.6 kB / 1.028 GB, free: 49.02 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04945/1.191, allocations: 32.51 MB / 1.059 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001447/1.192, allocations: 1.863 MB / 1.061 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0007561/1.193, allocations: 351.7 kB / 1.062 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005709/1.194, allocations: 0.6047 MB / 1.062 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of SimCode: time 5.51e-07/1.194, allocations: 7.938 kB / 1.062 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1222/1.316, allocations: 70.18 MB / 1.131 GB, free: 6.98 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002112/1.316, allocations: 256.8 kB / 1.131 GB, free: 6.727 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.475/3.791, allocations: 3.75 kB / 1.131 GB, free: 6.727 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)