Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 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_RLC_N,fileNamePrefix="Buildings_latest_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_latest_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.00134/0.00134, allocations: 99.86 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.001915/0.001915, 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 2.614/2.614, 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 10.0.0-master/package.mo): time 4.911/4.911, allocations: 409.2 MB / 0.6838 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0008842/0.0008843, allocations: 8 kB / 0.8375 GB, free: 6.605 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.496/1.497, allocations: 146.8 MB / 0.9809 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01762/1.515, allocations: 8.774 MB / 0.9894 GB, free: 13.56 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.009559/1.525, allocations: 3.035 MB / 0.9924 GB, free: 10.52 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001308/1.526, allocations: 27.81 kB / 0.9924 GB, free: 10.49 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0008021/1.527, allocations: 182.8 kB / 0.9926 GB, free: 10.31 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.002527/1.529, allocations: 0.4985 MB / 0.9931 GB, free: 9.809 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.002512/1.532, allocations: 0.5133 MB / 0.9936 GB, free: 9.297 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.003695/1.536, allocations: 1.45 MB / 0.995 GB, free: 7.848 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007427/1.543, allocations: 2.71 MB / 0.9977 GB, free: 5.094 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003166/1.546, allocations: 0.8139 MB / 0.9984 GB, free: 4.277 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003297/1.55, allocations: 1.005 MB / 0.9994 GB, free: 3.27 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0006768/1.55, allocations: 112 kB / 0.9995 GB, free: 3.16 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001575/1.552, allocations: 223.8 kB / 0.9997 GB, free: 2.941 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.001766/1.554, allocations: 0.8497 MB / 1.001 GB, free: 2.09 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.001108/1.555, allocations: 380.8 kB / 1.001 GB, free: 1.711 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.006124/1.561, allocations: 2.963 MB / 1.004 GB, free: 14.74 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 1.186e-05/1.561, allocations: 4 kB / 1.004 GB, free: 14.74 MB / 0.7637 GB Notification: Performance of FrontEnd: time 4.559e-06/1.561, allocations: 4 kB / 1.004 GB, free: 14.73 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0001123/1.561, allocations: 0 / 1.004 GB, free: 14.73 MB / 0.7637 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.007569/1.569, allocations: 1.764 MB / 1.006 GB, free: 12.91 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 7.233e-05/1.569, allocations: 11.97 kB / 1.006 GB, free: 12.9 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001182/1.57, allocations: 265 kB / 1.006 GB, free: 12.63 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0201/1.59, allocations: 1.433 MB / 1.007 GB, free: 11.2 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005613/1.596, allocations: 1.219 MB / 1.008 GB, free: 9.934 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002167/1.596, allocations: 114.9 kB / 1.009 GB, free: 9.82 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001254/1.598, allocations: 148 kB / 1.009 GB, free: 9.676 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01325/1.611, allocations: 3.413 MB / 1.012 GB, free: 6.164 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.076e-05/1.611, allocations: 7.938 kB / 1.012 GB, free: 6.156 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004302/1.611, allocations: 67.97 kB / 1.012 GB, free: 6.09 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005436/1.612, allocations: 199.1 kB / 1.012 GB, free: 5.895 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01136/1.623, allocations: 3.12 MB / 1.015 GB, free: 2.77 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0363/1.66, allocations: 13.59 MB / 1.029 GB, free: 4.305 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005156/1.665, allocations: 1.729 MB / 1.03 GB, free: 2.57 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001474/1.665, allocations: 12.95 kB / 1.03 GB, free: 2.559 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.055e-05/1.665, allocations: 51.5 kB / 1.03 GB, free: 2.5 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=104): time 4.939e-06/1.665, allocations: 0 / 1.03 GB, free: 2.5 MB / 0.7794 GB Notification: Performance of matching and sorting (n=183): time 0.2859/1.951, allocations: 35.93 MB / 1.065 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001152/1.951, allocations: 69.41 kB / 1.065 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003951/1.955, allocations: 1.05 MB / 1.067 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0009964/1.956, allocations: 49.7 kB / 1.067 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.001265/1.958, allocations: 0.7951 MB / 1.067 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.001933/1.96, allocations: 0.6161 MB / 1.068 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007141/1.96, allocations: 39.94 kB / 1.068 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0004255/1.961, allocations: 393.9 kB / 1.068 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006248/1.967, allocations: 1.928 MB / 1.07 GB, free: 9.426 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006213/1.973, allocations: 2.273 MB / 1.072 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006601/1.98, allocations: 2.215 MB / 1.075 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.687e-05/1.98, allocations: 0 / 1.075 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.03676/2.017, allocations: 8.992 MB / 1.083 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 6.179e-05/2.017, allocations: 11.98 kB / 1.083 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.67e-05/2.017, allocations: 12 kB / 1.083 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0292/2.046, allocations: 4.969 MB / 1.088 GB, free: 6.789 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001513/2.048, allocations: 191.6 kB / 1.088 GB, free: 6.602 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1006/2.149, allocations: 36.86 MB / 1.124 GB, free: 1.176 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00483/2.154, allocations: 99.89 kB / 1.125 GB, free: 1.078 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009698/2.155, allocations: 68 kB / 1.125 GB, free: 1.012 MB / 0.8731 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.003767/2.158, allocations: 0.7979 MB / 1.125 GB, free: 208 kB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008937/2.159, allocations: 138.3 kB / 1.126 GB, free: 68 kB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03522/2.195, allocations: 8.879 MB / 1.134 GB, free: 7.148 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.159e-05/2.195, allocations: 20 kB / 1.134 GB, free: 7.129 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001961/2.195, allocations: 28 kB / 1.134 GB, free: 7.102 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.048e-05/2.195, allocations: 7.969 kB / 1.134 GB, free: 7.094 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04713/2.242, allocations: 13.14 MB / 1.147 GB, free: 9.824 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.027e-05/2.242, allocations: 4 kB / 1.147 GB, free: 9.82 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009165/2.243, allocations: 123.8 kB / 1.147 GB, free: 9.699 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02655/2.27, allocations: 4.748 MB / 1.152 GB, free: 4.938 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001015/2.271, allocations: 36 kB / 1.152 GB, free: 4.902 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08323/2.354, allocations: 32.99 MB / 1.184 GB, free: 3.348 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.156e-05/2.354, allocations: 7.953 kB / 1.184 GB, free: 3.34 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03174/2.386, allocations: 8.553 MB / 1.192 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003198/2.389, allocations: 0.6163 MB / 1.193 GB, free: 9.973 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000796/2.39, allocations: 36 kB / 1.193 GB, free: 9.938 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002344/2.392, allocations: 95.83 kB / 1.193 GB, free: 9.844 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001437/2.394, allocations: 165.7 kB / 1.193 GB, free: 9.68 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002721/2.394, allocations: 48 kB / 1.193 GB, free: 9.633 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001969/2.396, allocations: 0.7304 MB / 1.194 GB, free: 8.891 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.81e-07/2.396, allocations: 0 / 1.194 GB, free: 8.891 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.006545/2.403, allocations: 1.008 MB / 1.195 GB, free: 7.883 MB / 0.9512 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.03258/2.435, allocations: 10.18 MB / 1.205 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.01822/2.454, allocations: 5.83 MB / 1.211 GB, free: 7.668 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.959e-05/2.454, allocations: 4.188 kB / 1.211 GB, free: 7.664 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.01395/2.468, allocations: 3.766 MB / 1.214 GB, free: 3.848 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002482/2.47, allocations: 201.6 kB / 1.215 GB, free: 3.652 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07192/2.542, allocations: 26.67 MB / 1.241 GB, free: 8.441 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004095/2.546, allocations: 1.891 MB / 1.242 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001863/2.548, allocations: 351.4 kB / 1.243 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001346/2.55, allocations: 0.6075 MB / 1.243 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of SimCode: time 3.036e-06/2.55, allocations: 0 / 1.243 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.314/3.864, allocations: 69.75 MB / 1.312 GB, free: 208.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000333/3.864, allocations: 235.9 kB / 1.312 GB, free: 208.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.752/9.616, allocations: 0 / 1.312 GB, free: 208.4 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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_RLC_N_res.mat does not exist to compare? outputFormat=mat