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.001389/0.001389, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001619/0.001619, allocations: 194.7 kB / 16.25 MB, free: 6.625 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.399/1.399, allocations: 205.1 MB / 222.1 MB, free: 4.691 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.666/1.666, 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.00156/0.00156, allocations: 69.05 kB / 0.6711 GB, free: 26.47 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2033/0.2049, allocations: 114.5 MB / 0.783 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02405/0.229, allocations: 23.24 MB / 0.8057 GB, free: 6.469 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.009937/0.2389, allocations: 6.497 MB / 0.812 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001333/0.2403, allocations: 79.56 kB / 0.8121 GB, free: 15.87 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003408/0.2437, allocations: 1.345 MB / 0.8134 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003372/0.2471, allocations: 1.708 MB / 0.8151 GB, free: 12.81 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003145/0.2502, allocations: 1.343 MB / 0.8164 GB, free: 11.47 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.006977/0.2572, allocations: 6.935 MB / 0.8232 GB, free: 4.516 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01034/0.2676, allocations: 8.128 MB / 0.8311 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003956/0.2716, allocations: 2.893 MB / 0.8339 GB, free: 9.398 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004803/0.2764, allocations: 3.685 MB / 0.8375 GB, free: 5.703 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.000947/0.2774, allocations: 0.5234 MB / 0.838 GB, free: 5.18 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002427/0.2798, allocations: 1.182 MB / 0.8392 GB, free: 3.996 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.002384/0.2822, allocations: 2.475 MB / 0.8416 GB, free: 1.516 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.003131/0.2853, allocations: 2.532 MB / 0.8441 GB, free: 14.97 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01136/0.2967, allocations: 8.515 MB / 0.8524 GB, free: 6.434 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.2968, allocations: 0 / 0.8524 GB, free: 6.434 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.784e-06/0.2968, allocations: 0 / 0.8524 GB, free: 6.434 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0002389/0.297, allocations: 0 / 0.8524 GB, free: 6.434 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.01064/0.3077, allocations: 4.435 MB / 0.8567 GB, free: 1.93 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.641e-05/0.3077, allocations: 8.031 kB / 0.8567 GB, free: 1.922 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001254/0.309, allocations: 0.5714 MB / 0.8573 GB, free: 1.34 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009047/0.3181, allocations: 1.681 MB / 0.8589 GB, free: 15.65 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005434/0.3236, allocations: 2.571 MB / 0.8614 GB, free: 13.03 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002124/0.3238, allocations: 275.7 kB / 0.8617 GB, free: 12.76 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001163/0.325, allocations: 368.3 kB / 0.8621 GB, free: 12.4 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01415/0.3391, allocations: 7.483 MB / 0.8694 GB, free: 4.648 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001468/0.3393, allocations: 11.88 kB / 0.8694 GB, free: 4.637 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001022/0.3404, allocations: 163.9 kB / 0.8695 GB, free: 4.477 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000624/0.341, allocations: 483.3 kB / 0.87 GB, free: 4.004 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01125/0.3523, allocations: 5.697 MB / 0.8756 GB, free: 14.3 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04266/0.395, allocations: 31.72 MB / 0.9065 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003149/0.3981, allocations: 2.086 MB / 0.9086 GB, free: 9.707 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003115/0.4013, allocations: 2.186 MB / 0.9107 GB, free: 7.516 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002622/0.4016, allocations: 13.31 kB / 0.9107 GB, free: 7.5 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.669e-05/0.4016, allocations: 51.88 kB / 0.9108 GB, free: 7.441 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=146): time 3.827e-06/0.4017, allocations: 4 kB / 0.9108 GB, free: 7.438 MB / 0.7325 GB Notification: Performance of matching and sorting (n=251): time 0.6969/1.099, allocations: 76.99 MB / 0.986 GB, free: 87.46 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.472e-05/1.099, allocations: 77.41 kB / 0.986 GB, free: 87.37 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002234/1.101, allocations: 1.67 MB / 0.9877 GB, free: 85.66 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0004405/1.101, allocations: 65.7 kB / 0.9877 GB, free: 85.59 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007398/1.102, allocations: 1.747 MB / 0.9894 GB, free: 83.82 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000831/1.103, allocations: 0.8534 MB / 0.9903 GB, free: 82.98 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001119/1.104, allocations: 489.2 kB / 0.9907 GB, free: 82.49 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 4.268e-05/1.104, allocations: 301.1 kB / 0.991 GB, free: 82.2 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002967/1.107, allocations: 2.73 MB / 0.9937 GB, free: 79.46 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003289/1.11, allocations: 3.332 MB / 0.9969 GB, free: 75.88 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006444/1.117, allocations: 6.389 MB / 1.003 GB, free: 69.25 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.661e-05/1.117, allocations: 11.94 kB / 1.003 GB, free: 69.24 MB / 0.7325 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.02723/1.144, allocations: 14.68 MB / 1.018 GB, free: 54.52 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.947e-05/1.144, allocations: 17.98 kB / 1.018 GB, free: 54.51 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.562e-05/1.144, allocations: 20 kB / 1.018 GB, free: 54.49 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02701/1.171, allocations: 9.296 MB / 1.027 GB, free: 45.17 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001274/1.173, allocations: 303.5 kB / 1.027 GB, free: 44.87 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06915/1.242, allocations: 52.38 MB / 1.078 GB, free: 7.656 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002886/1.245, allocations: 219.1 kB / 1.078 GB, free: 7.445 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003173/1.245, allocations: 104 kB / 1.078 GB, free: 7.344 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.003001/1.248, allocations: 1.582 MB / 1.08 GB, free: 5.75 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000626/1.249, allocations: 241.1 kB / 1.08 GB, free: 5.512 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03074/1.279, allocations: 14.76 MB / 1.095 GB, free: 6.691 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.329e-05/1.28, allocations: 24 kB / 1.095 GB, free: 6.668 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001423/1.28, allocations: 44 kB / 1.095 GB, free: 6.625 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.276e-05/1.28, allocations: 13.69 kB / 1.095 GB, free: 6.613 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04015/1.32, allocations: 20.51 MB / 1.115 GB, free: 1.953 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-05/1.32, allocations: 12.06 kB / 1.115 GB, free: 1.941 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007744/1.321, allocations: 163.7 kB / 1.115 GB, free: 1.781 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0285/1.349, allocations: 9.058 MB / 1.124 GB, free: 8.695 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005319/1.35, allocations: 50 kB / 1.124 GB, free: 8.648 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07635/1.426, allocations: 51.96 MB / 1.174 GB, free: 3.859 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.857e-06/1.426, allocations: 11.94 kB / 1.175 GB, free: 3.848 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03078/1.457, allocations: 14.35 MB / 1.189 GB, free: 5.355 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001991/1.459, allocations: 0.8531 MB / 1.189 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005809/1.46, allocations: 52 kB / 1.189 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002024/1.462, allocations: 215.2 kB / 1.19 GB, free: 4.223 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00129/1.463, allocations: 237.5 kB / 1.19 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002271/1.463, allocations: 64 kB / 1.19 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.00151/1.465, allocations: 1.125 MB / 1.191 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3.7e-07/1.465, allocations: 0 / 1.191 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.004875/1.47, allocations: 1.617 MB / 1.193 GB, free: 1.164 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.03076/1.5, allocations: 14.98 MB / 1.207 GB, free: 2.035 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.02361/1.524, allocations: 11.34 MB / 1.218 GB, free: 6.652 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-05/1.524, allocations: 416 / 1.218 GB, free: 6.652 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.01679/1.541, allocations: 7.309 MB / 1.225 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003022/1.544, allocations: 0.5545 MB / 1.226 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4675/2.011, allocations: 55.14 MB / 1.28 GB, free: 307.7 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004441/2.016, allocations: 3.225 MB / 1.283 GB, free: 306.9 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001145/2.017, allocations: 389.8 kB / 1.283 GB, free: 306.9 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001438/2.019, allocations: 1.461 MB / 1.285 GB, free: 306.9 MB / 0.9356 GB Notification: Performance of SimCode: time 1.353e-06/2.019, allocations: 0 / 1.285 GB, free: 306.9 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.159/2.178, allocations: 120.5 MB / 1.402 GB, free: 219.1 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001408/2.178, allocations: 256.2 kB / 1.403 GB, free: 218.8 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.145/6.322, allocations: 0 / 1.403 GB, free: 218.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)