Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.414/1.414, allocations: 252 MB / 267.3 MB, free: 10.85 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009848/0.0009845, allocations: 175.1 kB / 327 MB, free: 2.098 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.907/1.907, allocations: 205.4 MB / 0.578 GB, free: 20.14 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008335/0.0008335, allocations: 97.48 kB / 0.6826 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003835/0.0003842, allocations: 12.97 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2578/0.2582, allocations: 106.4 MB / 0.9009 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.01695/0.2752, allocations: 19.42 MB / 0.9199 GB, free: 43.88 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01059/0.2859, allocations: 6.43 MB / 0.9262 GB, free: 37.43 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002478/0.2884, allocations: 75.56 kB / 0.9263 GB, free: 37.36 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001167/0.2896, allocations: 408.8 kB / 0.9266 GB, free: 36.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.003062/0.2927, allocations: 1.112 MB / 0.9277 GB, free: 35.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002928/0.2956, allocations: 1.074 MB / 0.9288 GB, free: 34.76 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.006241/0.3019, allocations: 6.975 MB / 0.9356 GB, free: 27.77 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009253/0.3111, allocations: 7.261 MB / 0.9427 GB, free: 20.43 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003004/0.3142, allocations: 1.533 MB / 0.9442 GB, free: 18.89 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003135/0.3173, allocations: 2.02 MB / 0.9462 GB, free: 16.86 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0004497/0.3178, allocations: 176 kB / 0.9463 GB, free: 16.69 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002107/0.3199, allocations: 0.928 MB / 0.9472 GB, free: 15.76 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.001241/0.3212, allocations: 1.348 MB / 0.9485 GB, free: 14.41 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.001763/0.3229, allocations: 1.572 MB / 0.9501 GB, free: 12.82 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.005561/0.3285, allocations: 6.211 MB / 0.9561 GB, free: 6.59 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/0.3285, allocations: 0 / 0.9561 GB, free: 6.59 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.226e-06/0.3286, allocations: 0 / 0.9561 GB, free: 6.59 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001734/0.3287, allocations: 0 / 0.9561 GB, free: 6.59 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.005638/0.3344, allocations: 2.824 MB / 0.9589 GB, free: 3.703 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/0.3344, allocations: 16.03 kB / 0.9589 GB, free: 3.688 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006751/0.3351, allocations: 454.6 kB / 0.9593 GB, free: 3.23 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003225/0.3384, allocations: 0.6371 MB / 0.96 GB, free: 2.59 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003066/0.3414, allocations: 1.936 MB / 0.9619 GB, free: 0.5938 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001075/0.3416, allocations: 222.3 kB / 0.9621 GB, free: 384 kB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003755/0.3419, allocations: 300 kB / 0.9624 GB, free: 84 kB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00848/0.3504, allocations: 4.887 MB / 0.9671 GB, free: 11 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-05/0.3505, allocations: 7.938 kB / 0.9671 GB, free: 10.99 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003045/0.3509, allocations: 135.9 kB / 0.9673 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004512/0.3513, allocations: 233.7 kB / 0.9675 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006358/0.3577, allocations: 3.746 MB / 0.9712 GB, free: 6.863 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02316/0.3809, allocations: 21.62 MB / 0.9923 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001798/0.3827, allocations: 1.3 MB / 0.9935 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00137/0.3841, allocations: 1.03 MB / 0.9945 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.783e-05/0.3842, allocations: 17 kB / 0.9946 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.006e-05/0.3842, allocations: 47.55 kB / 0.9946 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=107): time 3.917e-06/0.3842, allocations: 0 / 0.9946 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of matching and sorting (n=138): time 0.02474/0.409, allocations: 8.723 MB / 1.003 GB, free: 4.055 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.429e-05/0.4091, allocations: 68.72 kB / 1.003 GB, free: 3.977 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001756/0.4109, allocations: 1.122 MB / 1.004 GB, free: 2.848 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001246/0.411, allocations: 53.7 kB / 1.004 GB, free: 2.789 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009265/0.412, allocations: 1.304 MB / 1.006 GB, free: 1.469 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004495/0.4124, allocations: 473.1 kB / 1.006 GB, free: 1 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.371e-05/0.4125, allocations: 36 kB / 1.006 GB, free: 0.9648 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001782/0.4127, allocations: 373.8 kB / 1.006 GB, free: 0.5938 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001258/0.414, allocations: 0.9136 MB / 1.007 GB, free: 15.68 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001506/0.4155, allocations: 1.326 MB / 1.009 GB, free: 14.18 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003057/0.4186, allocations: 2.426 MB / 1.011 GB, free: 11.59 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.798e-06/0.4186, allocations: 4 kB / 1.011 GB, free: 11.58 MB / 0.6667 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006098/0.4247, allocations: 3.464 MB / 1.014 GB, free: 8.098 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 3.482e-05/0.4247, allocations: 12.22 kB / 1.014 GB, free: 8.086 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.485e-05/0.4248, allocations: 16 kB / 1.014 GB, free: 8.07 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0032/0.428, allocations: 1.177 MB / 1.016 GB, free: 6.887 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009737/0.429, allocations: 263.5 kB / 1.016 GB, free: 6.629 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01621/0.4452, allocations: 12.72 MB / 1.028 GB, free: 9.516 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001551/0.4468, allocations: 95.95 kB / 1.028 GB, free: 9.422 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001379/0.447, allocations: 64 kB / 1.028 GB, free: 9.359 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,92.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002197/0.4492, allocations: 1.116 MB / 1.029 GB, free: 8.234 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003508/0.4495, allocations: 162.1 kB / 1.03 GB, free: 8.074 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00562/0.4551, allocations: 3.177 MB / 1.033 GB, free: 4.875 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.408e-05/0.4552, allocations: 12 kB / 1.033 GB, free: 4.863 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.59e-05/0.4552, allocations: 19.94 kB / 1.033 GB, free: 4.844 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.391e-05/0.4552, allocations: 11.86 kB / 1.033 GB, free: 4.832 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01101/0.4662, allocations: 6.237 MB / 1.039 GB, free: 14.45 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.178e-05/0.4663, allocations: 4 kB / 1.039 GB, free: 14.45 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000605/0.4669, allocations: 151.8 kB / 1.039 GB, free: 14.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003007/0.4699, allocations: 1.072 MB / 1.04 GB, free: 13.22 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001059/0.47, allocations: 32 kB / 1.04 GB, free: 13.19 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01608/0.4861, allocations: 12.45 MB / 1.052 GB, free: 348 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.744e-06/0.4862, allocations: 11.94 kB / 1.052 GB, free: 336 kB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5563/1.043, allocations: 3.145 MB / 1.055 GB, free: 137.1 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009079/1.043, allocations: 427.7 kB / 1.056 GB, free: 137 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001727/1.044, allocations: 32.31 kB / 1.056 GB, free: 137 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008017/1.044, allocations: 89.14 kB / 1.056 GB, free: 137 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004108/1.045, allocations: 118.5 kB / 1.056 GB, free: 137 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.717e-05/1.045, allocations: 37.66 kB / 1.056 GB, free: 137 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001037/1.046, allocations: 0.7722 MB / 1.057 GB, free: 136.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.8e-07/1.046, allocations: 0 / 1.057 GB, free: 136.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002046/1.048, allocations: 0.6608 MB / 1.057 GB, free: 136.9 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005833/1.054, allocations: 3.742 MB / 1.061 GB, free: 136 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.007492/1.061, allocations: 3.132 MB / 1.064 GB, free: 135.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.437e-05/1.062, allocations: 1.5 kB / 1.064 GB, free: 135.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.005322/1.067, allocations: 1.971 MB / 1.066 GB, free: 135.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004254/1.071, allocations: 469.2 kB / 1.066 GB, free: 135.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04146/1.113, allocations: 21.36 MB / 1.087 GB, free: 126.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002741/1.116, allocations: 2.342 MB / 1.09 GB, free: 125.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001449/1.117, allocations: 350.9 kB / 1.09 GB, free: 125.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001073/1.118, allocations: 1.011 MB / 1.091 GB, free: 124.2 MB / 0.698 GB Notification: Performance of SimCode: time 7.72e-07/1.118, allocations: 0 / 1.091 GB, free: 124.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07416/1.192, allocations: 49.35 MB / 1.139 GB, free: 78.67 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001562/1.192, allocations: 260.6 kB / 1.139 GB, free: 78.38 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.312/4.504, allocations: 0 / 1.139 GB, free: 78.38 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1)