Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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.ACLineMatrix_RL_N,fileNamePrefix="Buildings_latest_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_latest_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.001012/0.001012, allocations: 87.11 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.001256/0.001256, 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.449/1.449, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.541/2.541, allocations: 409.4 MB / 0.684 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003271/0.0003273, allocations: 11.94 kB / 0.8378 GB, free: 6.531 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7773/0.7776, allocations: 146.8 MB / 0.9812 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02038/0.7981, allocations: 21.26 MB / 1.002 GB, free: 0.9844 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.009889/0.808, allocations: 6.206 MB / 1.008 GB, free: 10.76 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001695/0.8097, allocations: 79.5 kB / 1.008 GB, free: 10.68 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.001035/0.8108, allocations: 460.5 kB / 1.008 GB, free: 10.23 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.003307/0.8141, allocations: 1.54 MB / 1.01 GB, free: 8.684 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.002522/0.8166, allocations: 0.9074 MB / 1.011 GB, free: 7.777 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.008933/0.8256, allocations: 8.213 MB / 1.019 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0121/0.8377, allocations: 7.103 MB / 1.026 GB, free: 8.387 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004738/0.8425, allocations: 2.132 MB / 1.028 GB, free: 6.246 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007011/0.8496, allocations: 3.131 MB / 1.031 GB, free: 3.105 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.001401/0.851, allocations: 248 kB / 1.031 GB, free: 2.863 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002635/0.8537, allocations: 0.5815 MB / 1.032 GB, free: 2.281 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.003154/0.8569, allocations: 2.097 MB / 1.034 GB, free: 184 kB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.001417/0.8583, allocations: 0.8472 MB / 1.035 GB, free: 15.32 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.007683/0.866, allocations: 7.011 MB / 1.042 GB, free: 8.297 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 7.644e-06/0.866, allocations: 0 / 1.042 GB, free: 8.297 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.505e-06/0.8661, allocations: 0 / 1.042 GB, free: 8.297 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0002358/0.8663, allocations: 0 / 1.042 GB, free: 8.297 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: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.00756/0.8739, allocations: 3.617 MB / 1.045 GB, free: 4.613 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.8739, allocations: 8.031 kB / 1.045 GB, free: 4.605 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001289/0.8752, allocations: 0.5751 MB / 1.046 GB, free: 4.02 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008338/0.8836, allocations: 1.688 MB / 1.047 GB, free: 2.324 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005477/0.8891, allocations: 2.509 MB / 1.05 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00024/0.8893, allocations: 275.2 kB / 1.05 GB, free: 15.49 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001048/0.8904, allocations: 355.9 kB / 1.05 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01867/0.9091, allocations: 7.463 MB / 1.058 GB, free: 7.414 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001151/0.9092, allocations: 15.88 kB / 1.058 GB, free: 7.398 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007532/0.91, allocations: 159.9 kB / 1.058 GB, free: 7.242 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006727/0.9107, allocations: 483.3 kB / 1.058 GB, free: 6.77 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01351/0.9242, allocations: 5.677 MB / 1.064 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04726/0.9715, allocations: 31.68 MB / 1.095 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003524/0.9751, allocations: 2.082 MB / 1.097 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003449/0.9786, allocations: 2.17 MB / 1.099 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000273/0.9789, allocations: 17.27 kB / 1.099 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.045e-05/0.9789, allocations: 51.81 kB / 1.099 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=146): time 3.727e-06/0.979, allocations: 4 kB / 1.099 GB, free: 10.28 MB / 0.8575 GB Notification: Performance of matching and sorting (n=251): time 0.2693/1.248, allocations: 75.25 MB / 1.172 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.021e-05/1.248, allocations: 81.41 kB / 1.172 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00283/1.251, allocations: 1.654 MB / 1.174 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0005258/1.252, allocations: 65.7 kB / 1.174 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.001358/1.253, allocations: 1.743 MB / 1.176 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.001283/1.254, allocations: 0.8471 MB / 1.177 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000393/1.255, allocations: 52 kB / 1.177 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002653/1.255, allocations: 415.2 kB / 1.177 GB, free: 9.961 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004262/1.259, allocations: 2.718 MB / 1.18 GB, free: 7.238 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004685/1.264, allocations: 3.328 MB / 1.183 GB, free: 3.664 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004659/1.269, allocations: 3.055 MB / 1.186 GB, free: 0.6094 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.559e-05/1.269, allocations: 8 kB / 1.186 GB, free: 0.6016 MB / 0.9356 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03236/1.301, allocations: 14.64 MB / 1.2 GB, free: 1.91 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 5.836e-05/1.301, allocations: 12 kB / 1.2 GB, free: 1.898 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.047e-05/1.301, allocations: 16 kB / 1.2 GB, free: 1.883 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02803/1.329, allocations: 9.24 MB / 1.209 GB, free: 8.617 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001231/1.331, allocations: 299.5 kB / 1.21 GB, free: 8.324 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7382/2.069, allocations: 47.06 MB / 1.256 GB, free: 238.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002883/2.072, allocations: 225.7 kB / 1.256 GB, free: 238.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003819/2.072, allocations: 97.38 kB / 1.256 GB, free: 238.7 MB / 0.9981 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 (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 {(19,68.1%) 19,(19,54.6%) 19,(12,50.0%) 18,(12,50.0%) 18,(12,52.8%) 10,(12,53.5%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003758/2.076, allocations: 1.582 MB / 1.257 GB, free: 238.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007197/2.077, allocations: 241.6 kB / 1.258 GB, free: 238.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03034/2.107, allocations: 14.73 MB / 1.272 GB, free: 234 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.571e-05/2.107, allocations: 30.12 kB / 1.272 GB, free: 234 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001841/2.107, allocations: 45.86 kB / 1.272 GB, free: 234 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-05/2.107, allocations: 10.17 kB / 1.272 GB, free: 234 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03481/2.142, allocations: 20.48 MB / 1.292 GB, free: 226.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.141e-05/2.142, allocations: 7.781 kB / 1.292 GB, free: 226.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008824/2.143, allocations: 165.5 kB / 1.292 GB, free: 226.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02456/2.168, allocations: 9.002 MB / 1.301 GB, free: 217.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004909/2.168, allocations: 51.94 kB / 1.301 GB, free: 217.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05973/2.228, allocations: 46.68 MB / 1.347 GB, free: 170.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.713e-06/2.228, allocations: 11.95 kB / 1.347 GB, free: 170.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0255/2.254, allocations: 14.33 MB / 1.361 GB, free: 156 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001897/2.256, allocations: 0.8497 MB / 1.362 GB, free: 155.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005375/2.256, allocations: 52 kB / 1.362 GB, free: 155.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001775/2.258, allocations: 207.7 kB / 1.362 GB, free: 154.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001188/2.259, allocations: 241.5 kB / 1.362 GB, free: 154.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002029/2.259, allocations: 67.94 kB / 1.362 GB, free: 154.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001383/2.261, allocations: 1.11 MB / 1.363 GB, free: 153.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.7e-07/2.261, allocations: 0 / 1.363 GB, free: 153.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004833/2.266, allocations: 1.613 MB / 1.365 GB, free: 151.8 MB / 0.9981 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 (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 {(12,53.5%) 10,(12,50.0%) 18,(19,64.8%) 19,(12,53.5%) 10,(12,50.0%) 18,(19,54.0%) 19} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02558/2.291, allocations: 14.93 MB / 1.379 GB, free: 136.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0191/2.31, allocations: 10.33 MB / 1.389 GB, free: 126.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-05/2.31, allocations: 0 / 1.389 GB, free: 126.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.01465/2.325, allocations: 7.163 MB / 1.396 GB, free: 119.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00322/2.328, allocations: 0.5215 MB / 1.397 GB, free: 118.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06133/2.39, allocations: 35.9 MB / 1.432 GB, free: 81.35 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003245/2.393, allocations: 3.231 MB / 1.435 GB, free: 78.09 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001183/2.394, allocations: 387.4 kB / 1.436 GB, free: 77.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001485/2.396, allocations: 1.491 MB / 1.437 GB, free: 76.21 MB / 0.9981 GB Notification: Performance of SimCode: time 1.212e-06/2.396, allocations: 0 / 1.437 GB, free: 76.21 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1681/2.564, allocations: 112.4 MB / 1.547 GB, free: 12.34 MB / 1.045 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002053/2.564, allocations: 248 kB / 1.547 GB, free: 12.07 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.619/6.184, allocations: 0 / 1.547 GB, free: 12.07 MB / 1.045 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat does not exist to compare? outputFormat=mat