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.0009505/0.0009505, 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.001172/0.001172, 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.482/1.482, allocations: 223.2 MB / 240 MB, free: 5.312 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.491/2.491, allocations: 390.4 MB / 0.6655 GB, free: 2.898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003424/0.0003426, allocations: 16 kB / 0.8149 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.779/0.7793, allocations: 142.3 MB / 0.9539 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.009584/0.789, allocations: 9.07 MB / 0.9627 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.006118/0.7951, allocations: 3.012 MB / 0.9657 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009968/0.7962, allocations: 24.41 kB / 0.9657 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0005693/0.7968, allocations: 189.6 kB / 0.9659 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001797/0.7986, allocations: 0.6263 MB / 0.9665 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001602/0.8002, allocations: 0.524 MB / 0.967 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.00477/0.805, allocations: 3.506 MB / 0.9704 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005061/0.8101, allocations: 2.719 MB / 0.9731 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002927/0.813, allocations: 0.9626 MB / 0.974 GB, free: 9.773 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002618/0.8156, allocations: 1.434 MB / 0.9754 GB, free: 9.016 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.00033/0.816, allocations: 113.9 kB / 0.9755 GB, free: 9.016 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000913/0.8169, allocations: 264.3 kB / 0.9758 GB, free: 8.938 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001008/0.8179, allocations: 0.9169 MB / 0.9767 GB, free: 8.406 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0005083/0.8184, allocations: 386.1 kB / 0.977 GB, free: 8.18 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002664/0.8211, allocations: 3.013 MB / 0.98 GB, free: 5.281 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.8211, allocations: 0 / 0.98 GB, free: 5.281 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.924e-06/0.8211, allocations: 0 / 0.98 GB, free: 5.281 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.231e-05/0.8212, allocations: 0 / 0.98 GB, free: 5.281 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.002998/0.8242, allocations: 1.772 MB / 0.9817 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.8242, allocations: 12.03 kB / 0.9817 GB, free: 3.438 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003362/0.8246, allocations: 261.1 kB / 0.982 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007773/0.8324, allocations: 1.324 MB / 0.9833 GB, free: 1.844 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002073/0.8345, allocations: 1.219 MB / 0.9845 GB, free: 0.582 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.248e-05/0.8346, allocations: 115 kB / 0.9846 GB, free: 480 kB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002834/0.8349, allocations: 147.9 kB / 0.9847 GB, free: 332 kB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005142/0.84, allocations: 3.429 MB / 0.9881 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.601e-05/0.8401, allocations: 4 kB / 0.9881 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002078/0.8403, allocations: 59.97 kB / 0.9881 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002581/0.8405, allocations: 207.1 kB / 0.9883 GB, free: 12.53 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004937/0.8455, allocations: 3.12 MB / 0.9914 GB, free: 9.406 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0182/0.8637, allocations: 13.59 MB / 1.005 GB, free: 10.93 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002605/0.8664, allocations: 1.722 MB / 1.006 GB, free: 9.203 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002107/0.8685, allocations: 1.436 MB / 1.008 GB, free: 7.766 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001023/0.8686, allocations: 9 kB / 1.008 GB, free: 7.758 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.093e-05/0.8687, allocations: 43.56 kB / 1.008 GB, free: 7.707 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=104): time 3.196e-06/0.8687, allocations: 0 / 1.008 GB, free: 7.707 MB / 0.7637 GB Notification: Performance of matching and sorting (n=183): time 0.1304/0.9991, allocations: 35.93 MB / 1.043 GB, free: 3.641 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.13e-05/0.9992, allocations: 77.41 kB / 1.043 GB, free: 3.551 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001524/1.001, allocations: 1.042 MB / 1.044 GB, free: 2.484 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.000344/1.001, allocations: 57.7 kB / 1.044 GB, free: 2.422 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.000516/1.002, allocations: 0.7834 MB / 1.045 GB, free: 1.625 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006672/1.002, allocations: 0.6278 MB / 1.045 GB, free: 0.9883 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001889/1.002, allocations: 40 kB / 1.045 GB, free: 0.9492 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0002189/1.003, allocations: 381.8 kB / 1.046 GB, free: 0.5703 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002873/1.006, allocations: 1.924 MB / 1.048 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003177/1.009, allocations: 2.281 MB / 1.05 GB, free: 12.24 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003319/1.012, allocations: 2.204 MB / 1.052 GB, free: 10.04 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-05/1.012, allocations: 4 kB / 1.052 GB, free: 10.04 MB / 0.8106 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02067/1.033, allocations: 8.992 MB / 1.061 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.571e-05/1.033, allocations: 11.95 kB / 1.061 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.318e-05/1.033, allocations: 12 kB / 1.061 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01633/1.049, allocations: 4.968 MB / 1.066 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009067/1.05, allocations: 195.6 kB / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05374/1.104, allocations: 35.08 MB / 1.1 GB, free: 8.172 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002123/1.106, allocations: 95.89 kB / 1.1 GB, free: 8.078 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003698/1.107, allocations: 68 kB / 1.1 GB, free: 8.012 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.001795/1.108, allocations: 0.8146 MB / 1.101 GB, free: 7.188 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00037/1.109, allocations: 138.4 kB / 1.101 GB, free: 7.051 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01973/1.129, allocations: 8.863 MB / 1.11 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.744e-05/1.129, allocations: 16 kB / 1.11 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001165/1.129, allocations: 32 kB / 1.11 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.973e-05/1.129, allocations: 11.95 kB / 1.11 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02745/1.156, allocations: 13.24 MB / 1.123 GB, free: 0.6914 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.96e-05/1.156, allocations: 4 kB / 1.123 GB, free: 0.6875 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000563/1.157, allocations: 119.8 kB / 1.123 GB, free: 0.5703 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01565/1.173, allocations: 4.757 MB / 1.128 GB, free: 11.8 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004095/1.173, allocations: 36 kB / 1.128 GB, free: 11.77 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04689/1.22, allocations: 31.41 MB / 1.158 GB, free: 11.79 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.085e-05/1.22, allocations: 7.938 kB / 1.158 GB, free: 11.78 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01773/1.238, allocations: 8.366 MB / 1.167 GB, free: 3.328 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001243/1.239, allocations: 0.6202 MB / 1.167 GB, free: 2.688 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000297/1.239, allocations: 36 kB / 1.167 GB, free: 2.652 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001092/1.24, allocations: 91.89 kB / 1.167 GB, free: 2.562 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006761/1.241, allocations: 161.7 kB / 1.167 GB, free: 2.402 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001419/1.241, allocations: 44 kB / 1.167 GB, free: 2.359 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0009317/1.242, allocations: 0.7304 MB / 1.168 GB, free: 1.617 MB / 0.92 GB Notification: Performance of sort global known variables: time 5.851e-06/1.242, allocations: 4 kB / 1.168 GB, free: 1.613 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.00298/1.245, allocations: 1.008 MB / 1.169 GB, free: 0.6055 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,80.1%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01818/1.263, allocations: 8.973 MB / 1.178 GB, free: 7.535 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.01135/1.275, allocations: 5.819 MB / 1.184 GB, free: 1.668 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.699e-05/1.275, allocations: 4 kB / 1.184 GB, free: 1.664 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.008369/1.283, allocations: 3.798 MB / 1.187 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001873/1.285, allocations: 226.3 kB / 1.188 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04678/1.332, allocations: 20.65 MB / 1.208 GB, free: 8.469 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001881/1.334, allocations: 1.855 MB / 1.209 GB, free: 6.574 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0009246/1.335, allocations: 351.4 kB / 1.21 GB, free: 6.227 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007381/1.335, allocations: 0.6086 MB / 1.21 GB, free: 5.617 MB / 0.9669 GB Notification: Performance of SimCode: time 2.796e-06/1.336, allocations: 4 kB / 1.21 GB, free: 5.613 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6438/1.979, allocations: 69.73 MB / 1.279 GB, free: 260 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001527/1.98, allocations: 236.5 kB / 1.279 GB, free: 259.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.01/4.989, allocations: 0 / 1.279 GB, free: 259.8 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