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.ACLineMatrix_RLC_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.ACLineMatrix_RLC_N,fileNamePrefix="Buildings_maint_7_0_x_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_maint_7_0_x_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.416/1.416, allocations: 252 MB / 267.3 MB, free: 10.86 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.001394/0.001394, allocations: 174.1 kB / 327 MB, free: 2.105 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.752/1.752, allocations: 205.4 MB / 0.578 GB, free: 20.42 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.0006959/0.000696, allocations: 87.98 kB / 0.6826 GB, free: 13.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004546/0.0004547, allocations: 9.594 kB / 0.7971 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2522/0.2527, allocations: 106.3 MB / 0.9009 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01201/0.2648, allocations: 9.598 MB / 0.9103 GB, free: 54.09 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.007401/0.2722, allocations: 3.179 MB / 0.9134 GB, free: 50.89 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001202/0.2735, allocations: 27.88 kB / 0.9134 GB, free: 50.87 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0008875/0.2744, allocations: 186.6 kB / 0.9136 GB, free: 50.68 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.002241/0.2766, allocations: 0.7042 MB / 0.9143 GB, free: 49.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001761/0.2784, allocations: 0.6396 MB / 0.9149 GB, free: 49.34 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.004339/0.2828, allocations: 4.463 MB / 0.9193 GB, free: 44.87 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004788/0.2876, allocations: 3.148 MB / 0.9224 GB, free: 41.66 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001782/0.2894, allocations: 0.9612 MB / 0.9233 GB, free: 40.7 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002325/0.2917, allocations: 1.457 MB / 0.9247 GB, free: 39.23 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0003067/0.2921, allocations: 112 kB / 0.9248 GB, free: 39.12 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001205/0.2933, allocations: 459.2 kB / 0.9253 GB, free: 38.68 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.001086/0.2944, allocations: 0.9236 MB / 0.9262 GB, free: 37.75 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.001173/0.2956, allocations: 0.9657 MB / 0.9271 GB, free: 36.77 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.003495/0.2991, allocations: 3.516 MB / 0.9305 GB, free: 33.25 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.2991, allocations: 4 kB / 0.9305 GB, free: 33.24 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.535e-06/0.2991, allocations: 0 / 0.9305 GB, free: 33.24 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.769e-05/0.2992, allocations: 0 / 0.9305 GB, free: 33.24 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: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.00414/0.3033, allocations: 1.768 MB / 0.9323 GB, free: 31.42 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/0.3034, allocations: 8.031 kB / 0.9323 GB, free: 31.41 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005151/0.3039, allocations: 257.2 kB / 0.9325 GB, free: 31.15 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01267/0.3166, allocations: 1.317 MB / 0.9338 GB, free: 29.83 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003187/0.3199, allocations: 1.255 MB / 0.935 GB, free: 28.53 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.65e-05/0.32, allocations: 115.4 kB / 0.9351 GB, free: 28.42 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004543/0.3204, allocations: 148.3 kB / 0.9353 GB, free: 28.27 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006635/0.3271, allocations: 3.433 MB / 0.9386 GB, free: 24.74 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.868e-05/0.3272, allocations: 11.94 kB / 0.9386 GB, free: 24.73 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002754/0.3274, allocations: 67.95 kB / 0.9387 GB, free: 24.66 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003003/0.3278, allocations: 203.1 kB / 0.9389 GB, free: 24.46 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00604/0.3338, allocations: 3.124 MB / 0.942 GB, free: 21.34 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0206/0.3544, allocations: 13.58 MB / 0.9552 GB, free: 6.879 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003143/0.3576, allocations: 1.727 MB / 0.9569 GB, free: 5.148 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002414/0.3601, allocations: 1.44 MB / 0.9583 GB, free: 3.695 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.399e-05/0.3602, allocations: 13 kB / 0.9583 GB, free: 3.684 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.3602, allocations: 43.5 kB / 0.9584 GB, free: 3.633 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=104): time 3.587e-06/0.3602, allocations: 0 / 0.9584 GB, free: 3.633 MB / 0.6042 GB Notification: Performance of matching and sorting (n=183): time 0.1639/0.5242, allocations: 35.96 MB / 0.9935 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.115e-05/0.5243, allocations: 69.41 kB / 0.9935 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001806/0.5261, allocations: 1.05 MB / 0.9946 GB, free: 14.37 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0004221/0.5266, allocations: 57.7 kB / 0.9946 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006181/0.5272, allocations: 0.7873 MB / 0.9954 GB, free: 13.51 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008705/0.5281, allocations: 0.6239 MB / 0.996 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003644/0.5285, allocations: 36 kB / 0.996 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002352/0.5287, allocations: 389.9 kB / 0.9964 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00314/0.5319, allocations: 1.932 MB / 0.9983 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003336/0.5352, allocations: 2.289 MB / 1.001 GB, free: 8.105 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006457/0.5417, allocations: 4.39 MB / 1.005 GB, free: 3.59 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.338e-05/0.5417, allocations: 0 / 1.005 GB, free: 3.59 MB / 0.6511 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02132/0.5631, allocations: 9.024 MB / 1.014 GB, free: 10.54 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 3.943e-05/0.5632, allocations: 12 kB / 1.014 GB, free: 10.53 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.384e-05/0.5632, allocations: 8.656 kB / 1.014 GB, free: 10.52 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01736/0.5806, allocations: 4.975 MB / 1.019 GB, free: 5.527 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009367/0.5815, allocations: 191.6 kB / 1.019 GB, free: 5.34 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07349/0.6551, allocations: 35.11 MB / 1.053 GB, free: 1.672 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00297/0.6581, allocations: 103.9 kB / 1.053 GB, free: 1.57 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003215/0.6584, allocations: 68 kB / 1.053 GB, free: 1.504 MB / 0.698 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.002196/0.6606, allocations: 0.8068 MB / 1.054 GB, free: 0.6875 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004718/0.6611, allocations: 138.3 kB / 1.054 GB, free: 0.5508 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4951/1.156, allocations: 8.887 MB / 1.063 GB, free: 140.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.335e-05/1.156, allocations: 18.86 kB / 1.063 GB, free: 140.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001717/1.157, allocations: 31.23 kB / 1.063 GB, free: 140.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.191e-05/1.157, allocations: 8.859 kB / 1.063 GB, free: 140.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02958/1.186, allocations: 13.27 MB / 1.076 GB, free: 139.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.621e-05/1.186, allocations: 4.281 kB / 1.076 GB, free: 139.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005723/1.187, allocations: 119.2 kB / 1.076 GB, free: 139.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0164/1.203, allocations: 4.756 MB / 1.081 GB, free: 139.1 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004267/1.204, allocations: 35.53 kB / 1.081 GB, free: 139.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04363/1.247, allocations: 31.45 MB / 1.111 GB, free: 112.9 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/1.247, allocations: 7.938 kB / 1.111 GB, free: 112.9 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01742/1.265, allocations: 8.404 MB / 1.119 GB, free: 104.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001501/1.266, allocations: 0.6163 MB / 1.12 GB, free: 103.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002739/1.267, allocations: 33.97 kB / 1.12 GB, free: 103.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001274/1.268, allocations: 87.89 kB / 1.12 GB, free: 103.7 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000915/1.269, allocations: 173.4 kB / 1.12 GB, free: 103.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001446/1.269, allocations: 44 kB / 1.12 GB, free: 103.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0009562/1.27, allocations: 0.7343 MB / 1.121 GB, free: 102.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.934e-06/1.27, allocations: 0 / 1.121 GB, free: 102.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003894/1.274, allocations: 1.004 MB / 1.122 GB, free: 101.7 MB / 0.698 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.01741/1.291, allocations: 8.993 MB / 1.131 GB, free: 92.65 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.008647/1.3, allocations: 5.826 MB / 1.137 GB, free: 86.78 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.496e-06/1.3, allocations: 3.938 kB / 1.137 GB, free: 86.77 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.006966/1.307, allocations: 3.798 MB / 1.14 GB, free: 82.94 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00194/1.309, allocations: 228.1 kB / 1.141 GB, free: 82.73 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05247/1.362, allocations: 32.47 MB / 1.172 GB, free: 49.39 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001339/1.363, allocations: 1.863 MB / 1.174 GB, free: 47.49 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0008741/1.364, allocations: 355.4 kB / 1.174 GB, free: 47.14 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000592/1.364, allocations: 0.6125 MB / 1.175 GB, free: 46.53 MB / 0.698 GB Notification: Performance of SimCode: time 1.342e-06/1.364, allocations: 0 / 1.175 GB, free: 46.53 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09416/1.459, allocations: 70.16 MB / 1.243 GB, free: 8.719 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002352/1.459, allocations: 266.2 kB / 1.244 GB, free: 8.363 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.593/5.052, allocations: 3.797 kB / 1.244 GB, free: 8.363 MB / 0.7292 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1)