Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.ACLine_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_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.001134/0.001134, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.001303/0.001303, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.524/2.524, allocations: 390.4 MB / 0.6655 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003711/0.0003711, allocations: 12 kB / 0.8149 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8468/0.8472, allocations: 142.3 MB / 0.9539 GB, free: 8.18 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03543/0.8827, allocations: 30.35 MB / 0.9835 GB, free: 1.055 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02589/0.9086, allocations: 13.93 MB / 0.9971 GB, free: 3.758 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005637/0.9143, allocations: 135.2 kB / 0.9972 GB, free: 3.625 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.003783/0.9182, allocations: 0.7014 MB / 0.9979 GB, free: 2.918 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.01014/0.9283, allocations: 2.405 MB / 1 GB, free: 0.5 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.005707/0.9341, allocations: 1.396 MB / 1.002 GB, free: 15.11 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.01746/0.9515, allocations: 9.777 MB / 1.011 GB, free: 5.297 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01876/0.9704, allocations: 9.868 MB / 1.021 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009225/0.9796, allocations: 2.946 MB / 1.024 GB, free: 8.406 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009267/0.989, allocations: 3.399 MB / 1.027 GB, free: 4.996 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.002276/0.9913, allocations: 296 kB / 1.027 GB, free: 4.707 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005073/0.9964, allocations: 0.8116 MB / 1.028 GB, free: 3.895 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.005689/1.002, allocations: 2.275 MB / 1.03 GB, free: 1.613 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.004107/1.006, allocations: 1.128 MB / 1.031 GB, free: 488 kB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0152/1.021, allocations: 9.159 MB / 1.04 GB, free: 7.293 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 1.058e-05/1.022, allocations: 3.938 kB / 1.04 GB, free: 7.289 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.835e-06/1.022, allocations: 0 / 1.04 GB, free: 7.289 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.000523/1.022, allocations: 0 / 1.04 GB, free: 7.289 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01624/1.038, allocations: 4.907 MB / 1.045 GB, free: 2.305 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.72e-05/1.038, allocations: 8.031 kB / 1.045 GB, free: 2.297 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003398/1.042, allocations: 0.7269 MB / 1.046 GB, free: 1.559 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0084/1.05, allocations: 1.141 MB / 1.047 GB, free: 420 kB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008955/1.059, allocations: 3.235 MB / 1.05 GB, free: 13.1 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004901/1.06, allocations: 374 kB / 1.05 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002288/1.062, allocations: 499.8 kB / 1.051 GB, free: 12.24 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02275/1.085, allocations: 7.962 MB / 1.059 GB, free: 4 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000446/1.085, allocations: 23.78 kB / 1.059 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002454/1.088, allocations: 216 kB / 1.059 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001296/1.089, allocations: 441.5 kB / 1.059 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01506/1.104, allocations: 6.053 MB / 1.065 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05208/1.156, allocations: 35.2 MB / 1.1 GB, free: 6.879 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003368/1.16, allocations: 2.02 MB / 1.102 GB, free: 4.855 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002878/1.163, allocations: 1.861 MB / 1.103 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001757/1.163, allocations: 18 kB / 1.103 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.455e-05/1.163, allocations: 60.5 kB / 1.104 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=171): time 4.298e-06/1.163, allocations: 0 / 1.104 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of matching and sorting (n=276): time 0.1372/1.3, allocations: 38.96 MB / 1.142 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.819e-05/1.3, allocations: 85.58 kB / 1.142 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004388/1.305, allocations: 2.258 MB / 1.144 GB, free: 9.473 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.000553/1.305, allocations: 73.7 kB / 1.144 GB, free: 9.395 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.001852/1.307, allocations: 2.272 MB / 1.146 GB, free: 7.094 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.001267/1.308, allocations: 0.9357 MB / 1.147 GB, free: 6.145 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003964/1.309, allocations: 60 kB / 1.147 GB, free: 6.086 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002937/1.309, allocations: 424.1 kB / 1.148 GB, free: 5.664 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003217/1.312, allocations: 1.962 MB / 1.149 GB, free: 3.699 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003849/1.316, allocations: 2.591 MB / 1.152 GB, free: 0.8633 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003972/1.32, allocations: 2.38 MB / 1.154 GB, free: 14.46 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-05/1.32, allocations: 4 kB / 1.154 GB, free: 14.46 MB / 0.92 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01565/1.336, allocations: 7.72 MB / 1.162 GB, free: 6.672 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.029e-05/1.336, allocations: 12 kB / 1.162 GB, free: 6.66 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.207e-05/1.336, allocations: 16 kB / 1.162 GB, free: 6.645 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00946/1.345, allocations: 3.21 MB / 1.165 GB, free: 3.418 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001977/1.347, allocations: 403.3 kB / 1.165 GB, free: 3.023 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04386/1.391, allocations: 31.1 MB / 1.196 GB, free: 3.117 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002943/1.394, allocations: 159.8 kB / 1.196 GB, free: 2.961 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003897/1.395, allocations: 112 kB / 1.196 GB, free: 2.852 MB / 0.9512 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 (202): * Single equations (assignments): 196 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(10,71.0%) 28,(10,65.0%) 28,(6,77.8%) 24,(6,77.8%) 24,(5,92.0%) 17,(5,92.0%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00367/1.398, allocations: 1.797 MB / 1.198 GB, free: 1.043 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007995/1.399, allocations: 332.1 kB / 1.198 GB, free: 0.7148 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01377/1.413, allocations: 7.33 MB / 1.205 GB, free: 9.301 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-05/1.413, allocations: 31.94 kB / 1.205 GB, free: 9.27 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.326e-05/1.413, allocations: 31.98 kB / 1.205 GB, free: 9.238 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.321e-05/1.413, allocations: 15.91 kB / 1.205 GB, free: 9.223 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02343/1.437, allocations: 12.91 MB / 1.218 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-05/1.437, allocations: 8 kB / 1.218 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001038/1.438, allocations: 227.6 kB / 1.218 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007835/1.446, allocations: 2.85 MB / 1.221 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004127/1.446, allocations: 52 kB / 1.221 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03939/1.485, allocations: 29.92 MB / 1.25 GB, free: 10.26 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.264e-06/1.485, allocations: 8 kB / 1.25 GB, free: 10.25 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01207/1.498, allocations: 6.856 MB / 1.257 GB, free: 3.188 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00184/1.499, allocations: 0.7898 MB / 1.258 GB, free: 2.375 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006435/1.5, allocations: 55.95 kB / 1.258 GB, free: 2.32 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00191/1.502, allocations: 167.8 kB / 1.258 GB, free: 2.156 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009155/1.503, allocations: 261.2 kB / 1.258 GB, free: 1.898 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000191/1.503, allocations: 72 kB / 1.258 GB, free: 1.828 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002597/1.506, allocations: 1.502 MB / 1.26 GB, free: 332 kB / 1.014 GB Notification: Performance of sort global known variables: time 3.91e-07/1.506, allocations: 0 / 1.26 GB, free: 332 kB / 1.014 GB Notification: Performance of remove unused functions: time 0.7035/2.209, allocations: 1.364 MB / 1.261 GB, free: 273.1 MB / 1.014 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 (105): * Single equations (assignments): 99 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(5,84.0%) 17,(6,77.8%) 24,(10,65.0%) 28,(5,92.0%) 17,(6,77.8%) 24,(10,65.0%) 28} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01675/2.226, allocations: 7.482 MB / 1.268 GB, free: 271.9 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.01296/2.239, allocations: 6.902 MB / 1.275 GB, free: 270.5 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.211e-05/2.239, allocations: 2.75 kB / 1.275 GB, free: 270.5 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.008327/2.247, allocations: 4.412 MB / 1.279 GB, free: 268.4 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005/2.253, allocations: 1.031 MB / 1.28 GB, free: 268.2 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05398/2.307, allocations: 32.3 MB / 1.312 GB, free: 250.6 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003555/2.31, allocations: 3.64 MB / 1.315 GB, free: 248.4 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002384/2.313, allocations: 0.5556 MB / 1.316 GB, free: 247.8 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001805/2.314, allocations: 1.968 MB / 1.318 GB, free: 245.8 MB / 1.014 GB Notification: Performance of SimCode: time 1.022e-06/2.314, allocations: 0 / 1.318 GB, free: 245.8 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1475/2.462, allocations: 107.4 MB / 1.423 GB, free: 139.7 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001277/2.462, allocations: 224.4 kB / 1.423 GB, free: 139.4 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.278/6.74, allocations: 4.062 kB / 1.423 GB, free: 139.4 MB / 1.014 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat does not exist to compare? outputFormat=mat