Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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.ACLineMatrix_RLC_N,fileNamePrefix="Buildings_9_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_9_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 99 kB / 15.05 MB, free: 1.105 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.001432/0.001432, allocations: 177.3 kB / 15.94 MB, free: 228 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.434/1.434, allocations: 223.2 MB / 239.9 MB, free: 5.336 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.426/2.426, allocations: 390.3 MB / 0.6653 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003149/0.0003151, allocations: 11.94 kB / 0.8146 GB, free: 14.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8021/0.8025, allocations: 142.3 MB / 0.9536 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.009976/0.8125, allocations: 8.771 MB / 0.9622 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005279/0.8178, allocations: 3.031 MB / 0.9651 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000982/0.8188, allocations: 28.69 kB / 0.9652 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0005009/0.8193, allocations: 178.2 kB / 0.9653 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001489/0.8208, allocations: 0.4909 MB / 0.9658 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001442/0.8223, allocations: 0.5208 MB / 0.9663 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002462/0.8248, allocations: 1.45 MB / 0.9677 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004726/0.8295, allocations: 2.721 MB / 0.9704 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001979/0.8315, allocations: 0.8067 MB / 0.9712 GB, free: 11.19 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001906/0.8334, allocations: 1.004 MB / 0.9722 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0003539/0.8338, allocations: 113 kB / 0.9723 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008344/0.8347, allocations: 231.8 kB / 0.9725 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0009297/0.8356, allocations: 0.8423 MB / 0.9733 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0005588/0.8362, allocations: 382.7 kB / 0.9737 GB, free: 9.871 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003294/0.8395, allocations: 2.959 MB / 0.9766 GB, free: 7.773 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.8395, allocations: 0 / 0.9766 GB, free: 7.773 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.615e-06/0.8395, allocations: 0.75 kB / 0.9766 GB, free: 7.773 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0001003/0.8396, allocations: 0 / 0.9766 GB, free: 7.773 MB / 0.7325 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.005185/0.8448, allocations: 1.777 MB / 0.9783 GB, free: 6.5 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.363e-05/0.8449, allocations: 8.812 kB / 0.9783 GB, free: 6.5 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006771/0.8455, allocations: 264.8 kB / 0.9786 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009677/0.8552, allocations: 1.436 MB / 0.98 GB, free: 4.98 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003672/0.8589, allocations: 1.219 MB / 0.9811 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001164/0.8591, allocations: 115 kB / 0.9813 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006294/0.8597, allocations: 144 kB / 0.9814 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005713/0.8654, allocations: 3.413 MB / 0.9847 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.057e-05/0.8655, allocations: 7.844 kB / 0.9847 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002231/0.8657, allocations: 63.97 kB / 0.9848 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002598/0.866, allocations: 203.1 kB / 0.985 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004877/0.8709, allocations: 3.12 MB / 0.988 GB, free: 12.55 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01999/0.8909, allocations: 13.6 MB / 1.001 GB, free: 14.08 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002739/0.8937, allocations: 1.73 MB / 1.003 GB, free: 12.34 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001075/0.8938, allocations: 9 kB / 1.003 GB, free: 12.33 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/0.8939, allocations: 47.55 kB / 1.003 GB, free: 12.28 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=104): time 3.056e-06/0.8939, allocations: 4 kB / 1.003 GB, free: 12.27 MB / 0.7637 GB Notification: Performance of matching and sorting (n=183): time 0.1522/1.046, allocations: 35.94 MB / 1.038 GB, free: 8.195 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.261e-05/1.046, allocations: 73.41 kB / 1.038 GB, free: 8.109 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001624/1.048, allocations: 1.046 MB / 1.039 GB, free: 7.039 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0004548/1.048, allocations: 57.7 kB / 1.039 GB, free: 6.977 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006412/1.049, allocations: 0.7795 MB / 1.04 GB, free: 6.188 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007913/1.05, allocations: 0.6316 MB / 1.041 GB, free: 5.547 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00018/1.05, allocations: 40 kB / 1.041 GB, free: 5.508 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001914/1.05, allocations: 381.8 kB / 1.041 GB, free: 5.129 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002868/1.053, allocations: 1.928 MB / 1.043 GB, free: 3.199 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002965/1.056, allocations: 2.281 MB / 1.045 GB, free: 0.7969 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003097/1.059, allocations: 2.216 MB / 1.047 GB, free: 14.58 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.668e-06/1.059, allocations: 4 kB / 1.047 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02116/1.08, allocations: 8.995 MB / 1.056 GB, free: 5.551 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.192e-05/1.08, allocations: 8.656 kB / 1.056 GB, free: 5.543 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.26e-05/1.08, allocations: 8 kB / 1.056 GB, free: 5.535 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01819/1.099, allocations: 4.982 MB / 1.061 GB, free: 0.5391 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001117/1.1, allocations: 191.7 kB / 1.061 GB, free: 360 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06001/1.16, allocations: 36.84 MB / 1.097 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002433/1.162, allocations: 115.8 kB / 1.097 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005286/1.163, allocations: 64 kB / 1.097 GB, free: 10.78 MB / 0.8575 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(8,100.0%) 16,(8,100.0%) 16,(8,100.0%) 38,(8,100.0%) 38} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002132/1.165, allocations: 0.8017 MB / 1.098 GB, free: 9.969 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005397/1.166, allocations: 138.4 kB / 1.098 GB, free: 9.832 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02136/1.187, allocations: 8.875 MB / 1.107 GB, free: 0.918 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.074e-05/1.187, allocations: 16 kB / 1.107 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001288/1.187, allocations: 35.95 kB / 1.107 GB, free: 0.8672 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.222e-05/1.187, allocations: 11.97 kB / 1.107 GB, free: 0.8555 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03099/1.218, allocations: 13.13 MB / 1.12 GB, free: 3.598 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.081e-05/1.218, allocations: 7.953 kB / 1.12 GB, free: 3.59 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006085/1.219, allocations: 119.8 kB / 1.12 GB, free: 3.473 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01783/1.237, allocations: 4.75 MB / 1.125 GB, free: 14.71 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006275/1.237, allocations: 32 kB / 1.125 GB, free: 14.68 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05748/1.295, allocations: 33 MB / 1.157 GB, free: 13.11 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/1.295, allocations: 4 kB / 1.157 GB, free: 13.1 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02251/1.318, allocations: 8.561 MB / 1.165 GB, free: 4.363 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00226/1.32, allocations: 0.6124 MB / 1.166 GB, free: 3.73 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000742/1.321, allocations: 39.98 kB / 1.166 GB, free: 3.691 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001686/1.322, allocations: 91.84 kB / 1.166 GB, free: 3.602 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008388/1.323, allocations: 157.7 kB / 1.166 GB, free: 3.445 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002857/1.323, allocations: 48 kB / 1.166 GB, free: 3.398 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001377/1.325, allocations: 0.7304 MB / 1.167 GB, free: 2.656 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.6e-07/1.325, allocations: 0 / 1.167 GB, free: 2.656 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.003927/1.329, allocations: 1.004 MB / 1.168 GB, free: 1.652 MB / 0.92 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(8,100.0%) 16,(8,100.0%) 38,(8,100.0%) 8,(14,77.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02131/1.35, allocations: 10.18 MB / 1.178 GB, free: 7.32 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.01141/1.362, allocations: 5.829 MB / 1.183 GB, free: 1.441 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/1.362, allocations: 0 / 1.183 GB, free: 1.441 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.008671/1.37, allocations: 3.774 MB / 1.187 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001497/1.372, allocations: 202.3 kB / 1.187 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04682/1.419, allocations: 26.67 MB / 1.213 GB, free: 2.215 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002323/1.421, allocations: 1.891 MB / 1.215 GB, free: 296 kB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0009467/1.422, allocations: 355.4 kB / 1.216 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008582/1.423, allocations: 0.6008 MB / 1.216 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of SimCode: time 8.12e-07/1.423, allocations: 0 / 1.216 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6096/2.032, allocations: 69.75 MB / 1.284 GB, free: 259.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001356/2.033, allocations: 234.3 kB / 1.284 GB, free: 258.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.904/4.936, allocations: 2.188 kB / 1.284 GB, free: 258.9 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat does not exist to compare? outputFormat=mat