Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.774/2.774, allocations: 287.3 MB / 302.3 MB, free: 8.344 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00156/0.00156, allocations: 188 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.109/2.109, allocations: 205.4 MB / 0.6295 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001183/0.001182, allocations: 100.2 kB / 0.7428 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004956/0.0004956, allocations: 13.33 kB / 0.8657 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2446/0.2451, allocations: 115.3 MB / 0.9783 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N): time 0.01539/0.2606, allocations: 10.44 MB / 0.9885 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01041/0.2711, allocations: 5.147 MB / 0.9935 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001193/0.2723, allocations: 27.88 kB / 0.9935 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001513/0.2739, allocations: 326.2 kB / 0.9939 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.002484/0.2764, allocations: 0.5491 MB / 0.9944 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002828/0.2793, allocations: 0.6021 MB / 0.995 GB, free: 11.13 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.002594/0.2819, allocations: 1.193 MB / 0.9961 GB, free: 9.938 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006923/0.2889, allocations: 3.864 MB / 0.9999 GB, free: 6.027 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001322/0.2902, allocations: 0.6347 MB / 1.001 GB, free: 5.391 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001577/0.2919, allocations: 0.7359 MB / 1.001 GB, free: 4.652 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0003677/0.2923, allocations: 104 kB / 1.001 GB, free: 4.551 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001304/0.2936, allocations: 319.7 kB / 1.002 GB, free: 4.238 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0008864/0.2945, allocations: 0.686 MB / 1.002 GB, free: 3.551 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0005292/0.295, allocations: 368.8 kB / 1.003 GB, free: 3.184 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.004104/0.2992, allocations: 3.238 MB / 1.006 GB, free: 15.94 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.2992, allocations: 0 / 1.006 GB, free: 15.94 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.236e-06/0.2992, allocations: 0 / 1.006 GB, free: 15.94 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.845e-05/0.2993, allocations: 0 / 1.006 GB, free: 15.94 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 425 * Number of variables: 425 Notification: Performance of Generate backend data structure: time 0.006371/0.3057, allocations: 1.773 MB / 1.008 GB, free: 14.11 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.378e-05/0.3058, allocations: 8.031 kB / 1.008 GB, free: 14.1 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001078/0.3069, allocations: 268.7 kB / 1.008 GB, free: 13.83 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005684/0.3126, allocations: 0.7704 MB / 1.009 GB, free: 13.05 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004179/0.3168, allocations: 1.219 MB / 1.01 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001733/0.3171, allocations: 131.1 kB / 1.01 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007622/0.3178, allocations: 160 kB / 1.01 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008852/0.3267, allocations: 2.925 MB / 1.013 GB, free: 8.52 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.688e-05/0.3268, allocations: 7.938 kB / 1.013 GB, free: 8.512 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003395/0.3272, allocations: 75.97 kB / 1.013 GB, free: 8.438 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007504/0.328, allocations: 203 kB / 1.013 GB, free: 8.238 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007355/0.3353, allocations: 2.499 MB / 1.016 GB, free: 5.734 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0219/0.3573, allocations: 10.89 MB / 1.026 GB, free: 9.949 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002298/0.3596, allocations: 0.9259 MB / 1.027 GB, free: 8.98 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001948/0.3599, allocations: 89.47 kB / 1.027 GB, free: 8.875 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.834e-05/0.3599, allocations: 42.94 kB / 1.027 GB, free: 8.824 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=46): time 3.617e-06/0.3599, allocations: 0 / 1.027 GB, free: 8.824 MB / 0.6511 GB Notification: Performance of matching and sorting (n=70): time 0.05271/0.4127, allocations: 8.959 MB / 1.036 GB, free: 15.79 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.452e-05/0.4128, allocations: 85.67 kB / 1.036 GB, free: 15.69 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002095/0.4149, allocations: 0.9415 MB / 1.037 GB, free: 14.74 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001982/0.4151, allocations: 41.7 kB / 1.037 GB, free: 14.69 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008103/0.4159, allocations: 0.7697 MB / 1.038 GB, free: 13.91 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003502/0.4163, allocations: 244.6 kB / 1.038 GB, free: 13.66 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001363/0.4165, allocations: 20 kB / 1.038 GB, free: 13.64 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002681/0.4167, allocations: 402.8 kB / 1.038 GB, free: 13.24 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002199/0.4189, allocations: 0.795 MB / 1.039 GB, free: 12.45 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002593/0.4216, allocations: 1.16 MB / 1.04 GB, free: 11.13 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002693/0.4243, allocations: 0.9907 MB / 1.041 GB, free: 10.14 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.308e-05/0.4244, allocations: 4 kB / 1.041 GB, free: 10.13 MB / 0.6667 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01903/0.4434, allocations: 3.791 MB / 1.045 GB, free: 6.324 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.002321/0.4458, allocations: 4.257 MB / 1.049 GB, free: 1.734 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.852e-05/0.4459, allocations: 12 kB / 1.049 GB, free: 1.723 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01667/0.4625, allocations: 2.161 MB / 1.051 GB, free: 15.55 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001766/0.4644, allocations: 231.6 kB / 1.052 GB, free: 15.33 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03036/0.4948, allocations: 10.66 MB / 1.062 GB, free: 4.406 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002392/0.4972, allocations: 199.7 kB / 1.062 GB, free: 4.211 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001865/0.4974, allocations: 44 kB / 1.062 GB, free: 4.168 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.4975, allocations: 4 kB / 1.062 GB, free: 4.164 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02208/0.5196, allocations: 3.072 MB / 1.065 GB, free: 1.086 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.313e-05/0.5197, allocations: 16.36 kB / 1.065 GB, free: 1.07 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6404/1.16, allocations: 1.358 MB / 1.067 GB, free: 82.49 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00233/1.162, allocations: 297.3 kB / 1.067 GB, free: 82.49 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02125/1.184, allocations: 6.383 MB / 1.073 GB, free: 80.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002165/1.186, allocations: 169.9 kB / 1.073 GB, free: 80.44 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001845/1.186, allocations: 46.31 kB / 1.073 GB, free: 80.43 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (97): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 12} * Non-linear torn systems: 1 {4 12} Notification: Performance of prepare postOptimizeDAE: time 0.002169/1.188, allocations: 0.8984 MB / 1.074 GB, free: 80.01 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003358/1.189, allocations: 86.66 kB / 1.074 GB, free: 80.01 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01691/1.206, allocations: 3.328 MB / 1.077 GB, free: 79.14 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-05/1.206, allocations: 6.5 kB / 1.077 GB, free: 79.14 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.405e-05/1.206, allocations: 3.312 kB / 1.077 GB, free: 79.14 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.587e-05/1.206, allocations: 3.328 kB / 1.077 GB, free: 79.14 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02205/1.228, allocations: 5.491 MB / 1.083 GB, free: 77.24 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.132e-05/1.228, allocations: 3.672 kB / 1.083 GB, free: 77.24 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008712/1.229, allocations: 108.7 kB / 1.083 GB, free: 77.23 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01482/1.244, allocations: 1.976 MB / 1.085 GB, free: 77 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001917/1.244, allocations: 14.34 kB / 1.085 GB, free: 76.99 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02437/1.268, allocations: 10.07 MB / 1.095 GB, free: 71.61 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/1.268, allocations: 0 / 1.095 GB, free: 71.61 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0149/1.283, allocations: 3.291 MB / 1.098 GB, free: 70.56 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001029/1.284, allocations: 333.5 kB / 1.098 GB, free: 70.35 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002717/1.285, allocations: 17.47 kB / 1.098 GB, free: 70.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001698/1.286, allocations: 153.6 kB / 1.098 GB, free: 70.33 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005178/1.287, allocations: 60.72 kB / 1.098 GB, free: 70.32 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001039/1.287, allocations: 20.03 kB / 1.099 GB, free: 70.31 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001424/1.288, allocations: 0.6726 MB / 1.099 GB, free: 70.04 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.71e-07/1.288, allocations: 3.844 kB / 1.099 GB, free: 70.04 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003937/1.292, allocations: 0.6804 MB / 1.1 GB, free: 69.99 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 12} * Non-linear torn systems: 1 {4 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.01647/1.309, allocations: 4.45 MB / 1.104 GB, free: 67.45 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01358/1.323, allocations: 3.914 MB / 1.108 GB, free: 65.25 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.167e-05/1.323, allocations: 3.5 kB / 1.108 GB, free: 65.25 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.004778/1.327, allocations: 1.311 MB / 1.109 GB, free: 64.43 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002421/1.33, allocations: 236.1 kB / 1.11 GB, free: 64.33 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03872/1.369, allocations: 18.58 MB / 1.128 GB, free: 50.25 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00185/1.371, allocations: 1.757 MB / 1.129 GB, free: 49 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002242/1.373, allocations: 0.5147 MB / 1.13 GB, free: 48.79 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001066/1.374, allocations: 0.4976 MB / 1.13 GB, free: 48.34 MB / 0.6823 GB Notification: Performance of SimCode: time 1.112e-06/1.374, allocations: 0 / 1.13 GB, free: 48.34 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1372/1.511, allocations: 41.54 MB / 1.171 GB, free: 8.156 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002553/1.511, allocations: 241.1 kB / 1.171 GB, free: 7.879 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.617/5.128, allocations: 0 / 1.171 GB, free: 7.879 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe 2>&1)