Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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_RL_N,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_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.001265/0.001265, 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.001335/0.001335, allocations: 190.8 kB / 16.13 MB, free: 6.66 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.254/1.254, allocations: 205.1 MB / 222 MB, free: 4.719 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.63/1.63, 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.001336/0.001336, allocations: 68.19 kB / 0.6709 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.1754, allocations: 114.5 MB / 0.7828 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02263/0.1981, allocations: 23.24 MB / 0.8055 GB, free: 6.582 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.009949/0.2081, allocations: 6.551 MB / 0.8119 GB, free: 8 kB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00156/0.2097, allocations: 83.61 kB / 0.812 GB, free: 15.92 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003292/0.213, allocations: 1.346 MB / 0.8133 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003587/0.2166, allocations: 1.735 MB / 0.815 GB, free: 12.83 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002878/0.2195, allocations: 1.338 MB / 0.8163 GB, free: 11.5 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.008947/0.2284, allocations: 10.6 MB / 0.8266 GB, free: 0.8711 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00986/0.2383, allocations: 7.625 MB / 0.8341 GB, free: 9.16 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003702/0.242, allocations: 2.409 MB / 0.8364 GB, free: 6.742 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005033/0.2471, allocations: 3.607 MB / 0.84 GB, free: 3.125 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001447/0.2486, allocations: 380 kB / 0.8403 GB, free: 2.754 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003203/0.2518, allocations: 1.197 MB / 0.8415 GB, free: 1.555 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.003314/0.2551, allocations: 2.311 MB / 0.8438 GB, free: 15.24 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.004372/0.2595, allocations: 2.353 MB / 0.8461 GB, free: 12.88 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.008635/0.2681, allocations: 8.382 MB / 0.8542 GB, free: 4.469 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.2682, allocations: 3.984 kB / 0.8542 GB, free: 4.465 MB / 0.67 GB Notification: Performance of FrontEnd: time 9.52e-07/0.2682, allocations: 0 / 0.8542 GB, free: 4.465 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001798/0.2684, allocations: 0 / 0.8542 GB, free: 4.465 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.007158/0.2755, allocations: 4.428 MB / 0.8586 GB, free: 15.97 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.2756, allocations: 8.031 kB / 0.8586 GB, free: 15.96 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006858/0.2763, allocations: 0.5792 MB / 0.8591 GB, free: 15.37 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007637/0.2839, allocations: 1.677 MB / 0.8608 GB, free: 13.69 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004201/0.2881, allocations: 2.571 MB / 0.8633 GB, free: 11.06 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001725/0.2883, allocations: 279.7 kB / 0.8636 GB, free: 10.79 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006345/0.289, allocations: 364.3 kB / 0.8639 GB, free: 10.43 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01166/0.3006, allocations: 7.487 MB / 0.8712 GB, free: 2.68 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.371e-05/0.3008, allocations: 11.94 kB / 0.8712 GB, free: 2.668 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004878/0.3013, allocations: 155.9 kB / 0.8714 GB, free: 2.516 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000535/0.3018, allocations: 487.3 kB / 0.8718 GB, free: 2.039 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01009/0.3119, allocations: 5.705 MB / 0.8774 GB, free: 12.33 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03239/0.3443, allocations: 31.71 MB / 0.9084 GB, free: 9.84 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00261/0.3469, allocations: 2.09 MB / 0.9104 GB, free: 7.738 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002716/0.3497, allocations: 2.178 MB / 0.9125 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001398/0.3498, allocations: 17.31 kB / 0.9126 GB, free: 5.535 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/0.3499, allocations: 51.75 kB / 0.9126 GB, free: 5.477 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=146): time 2.925e-06/0.3499, allocations: 0 / 0.9126 GB, free: 5.477 MB / 0.7325 GB Notification: Performance of matching and sorting (n=251): time 0.6076/0.9575, allocations: 77.01 MB / 0.9878 GB, free: 85.48 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.884e-05/0.9575, allocations: 77.41 kB / 0.9879 GB, free: 85.4 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001936/0.9595, allocations: 1.67 MB / 0.9895 GB, free: 83.68 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0004087/0.9599, allocations: 61.7 kB / 0.9896 GB, free: 83.62 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006947/0.9606, allocations: 1.742 MB / 0.9913 GB, free: 81.86 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008159/0.9614, allocations: 0.8571 MB / 0.9921 GB, free: 81.01 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001178/0.9626, allocations: 481.2 kB / 0.9926 GB, free: 80.53 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 4.357e-05/0.9627, allocations: 313.1 kB / 0.9929 GB, free: 80.22 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003085/0.9658, allocations: 2.726 MB / 0.9955 GB, free: 77.49 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003402/0.9692, allocations: 3.328 MB / 0.9988 GB, free: 73.92 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006961/0.9762, allocations: 6.397 MB / 1.005 GB, free: 67.28 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.189e-05/0.9762, allocations: 7.938 kB / 1.005 GB, free: 67.27 MB / 0.7325 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.02861/1.005, allocations: 14.68 MB / 1.019 GB, free: 52.55 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.185e-05/1.005, allocations: 16 kB / 1.019 GB, free: 52.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.31e-05/1.005, allocations: 16 kB / 1.019 GB, free: 52.52 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02698/1.032, allocations: 9.242 MB / 1.028 GB, free: 43.25 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001181/1.033, allocations: 299.5 kB / 1.029 GB, free: 42.96 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06542/1.099, allocations: 47.44 MB / 1.075 GB, free: 10.73 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002767/1.101, allocations: 215.7 kB / 1.075 GB, free: 10.52 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005158/1.102, allocations: 104 kB / 1.075 GB, free: 10.42 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003116/1.105, allocations: 1.591 MB / 1.077 GB, free: 8.816 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007521/1.106, allocations: 241.1 kB / 1.077 GB, free: 8.578 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03196/1.138, allocations: 14.75 MB / 1.092 GB, free: 9.77 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.834e-05/1.138, allocations: 24.84 kB / 1.092 GB, free: 9.746 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001475/1.138, allocations: 44 kB / 1.092 GB, free: 9.703 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.672e-05/1.138, allocations: 15.12 kB / 1.092 GB, free: 9.691 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04178/1.18, allocations: 20.53 MB / 1.112 GB, free: 5.027 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.718e-05/1.18, allocations: 8 kB / 1.112 GB, free: 5.02 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008016/1.181, allocations: 162.7 kB / 1.112 GB, free: 4.863 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0293/1.21, allocations: 9.005 MB / 1.121 GB, free: 11.83 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005778/1.211, allocations: 48 kB / 1.121 GB, free: 11.78 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07365/1.284, allocations: 47.02 MB / 1.167 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.346e-06/1.284, allocations: 11.94 kB / 1.167 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0314/1.316, allocations: 14.36 MB / 1.181 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002379/1.318, allocations: 0.8493 MB / 1.181 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006652/1.319, allocations: 51.98 kB / 1.181 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002313/1.321, allocations: 207.7 kB / 1.182 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001692/1.323, allocations: 239.5 kB / 1.182 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002551/1.323, allocations: 68 kB / 1.182 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001984/1.325, allocations: 1.121 MB / 1.183 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.61e-07/1.325, allocations: 0.75 kB / 1.183 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.005675/1.331, allocations: 1.621 MB / 1.185 GB, free: 9.266 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0317/1.363, allocations: 14.97 MB / 1.199 GB, free: 10.14 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.02292/1.386, allocations: 10.53 MB / 1.21 GB, free: 15.56 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.67e-05/1.386, allocations: 0 / 1.21 GB, free: 15.56 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.01779/1.403, allocations: 7.314 MB / 1.217 GB, free: 8.188 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003721/1.407, allocations: 0.5188 MB / 1.217 GB, free: 7.676 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4429/1.85, allocations: 55.14 MB / 1.271 GB, free: 310.1 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004737/1.855, allocations: 3.223 MB / 1.274 GB, free: 309.3 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001295/1.856, allocations: 385.4 kB / 1.275 GB, free: 309.3 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001314/1.858, allocations: 1.463 MB / 1.276 GB, free: 309.3 MB / 0.9356 GB Notification: Performance of SimCode: time 1.222e-06/1.858, allocations: 2.594 kB / 1.276 GB, free: 309.3 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1432/2.001, allocations: 117 MB / 1.39 GB, free: 230.1 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001485/2.001, allocations: 263 kB / 1.391 GB, free: 229.8 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.503/5.504, allocations: 0 / 1.391 GB, free: 229.8 MB / 0.9356 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1)