Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_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.ACSimpleGrid_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_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.001758/0.001758, allocations: 99.7 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.002622/0.002621, allocations: 177.3 kB / 15.95 MB, free: 216 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.598/2.598, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 5.183/5.183, allocations: 409.2 MB / 0.6838 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0007444/0.0007446, allocations: 8 kB / 0.8375 GB, free: 6.523 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.748/1.748, allocations: 146.8 MB / 0.9809 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N): time 0.02453/1.773, allocations: 10.46 MB / 0.9911 GB, free: 11.77 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01764/1.791, allocations: 5.154 MB / 0.9961 GB, free: 6.609 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002498/1.793, allocations: 27.88 kB / 0.9961 GB, free: 6.582 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002998/1.796, allocations: 322.2 kB / 0.9965 GB, free: 6.266 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.005129/1.802, allocations: 0.549 MB / 0.997 GB, free: 5.715 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.004909/1.806, allocations: 0.6028 MB / 0.9976 GB, free: 5.113 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.004626/1.811, allocations: 1.201 MB / 0.9988 GB, free: 3.91 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01139/1.823, allocations: 3.861 MB / 1.003 GB, free: 15.99 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00285/1.826, allocations: 0.6463 MB / 1.003 GB, free: 15.34 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002775/1.828, allocations: 0.7475 MB / 1.004 GB, free: 14.59 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0008731/1.829, allocations: 100 kB / 1.004 GB, free: 14.5 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002379/1.832, allocations: 319.7 kB / 1.004 GB, free: 14.18 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.001707/1.833, allocations: 0.686 MB / 1.005 GB, free: 13.5 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.001129/1.835, allocations: 364.9 kB / 1.005 GB, free: 13.13 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.007289/1.842, allocations: 3.256 MB / 1.008 GB, free: 9.871 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 1.058e-05/1.842, allocations: 4 kB / 1.008 GB, free: 9.867 MB / 0.7637 GB Notification: Performance of FrontEnd: time 3.146e-06/1.842, allocations: 0 / 1.008 GB, free: 9.867 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0001558/1.842, allocations: 4 kB / 1.008 GB, free: 9.863 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: 425 * Number of variables: 425 Notification: Performance of Generate backend data structure: time 0.008931/1.851, allocations: 1.769 MB / 1.01 GB, free: 8.039 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 9.919e-05/1.851, allocations: 8.031 kB / 1.01 GB, free: 8.031 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001842/1.853, allocations: 264.7 kB / 1.01 GB, free: 7.762 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007313/1.86, allocations: 0.7665 MB / 1.011 GB, free: 6.992 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005678/1.866, allocations: 1.227 MB / 1.012 GB, free: 5.723 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002037/1.866, allocations: 123.2 kB / 1.013 GB, free: 5.602 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001063/1.868, allocations: 160 kB / 1.013 GB, free: 5.445 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01194/1.879, allocations: 2.929 MB / 1.016 GB, free: 2.453 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001145/1.88, allocations: 3.906 kB / 1.016 GB, free: 2.449 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005062/1.88, allocations: 68 kB / 1.016 GB, free: 2.383 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009885/1.881, allocations: 207 kB / 1.016 GB, free: 2.18 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009838/1.891, allocations: 2.503 MB / 1.018 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02675/1.918, allocations: 10.91 MB / 1.029 GB, free: 3.863 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002492/1.92, allocations: 0.9132 MB / 1.03 GB, free: 2.902 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002655/1.921, allocations: 101.5 kB / 1.03 GB, free: 2.785 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.642e-05/1.921, allocations: 34.94 kB / 1.03 GB, free: 2.742 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=46): time 8.496e-06/1.921, allocations: 0 / 1.03 GB, free: 2.742 MB / 0.7794 GB Notification: Performance of matching and sorting (n=70): time 0.05195/1.973, allocations: 8.978 MB / 1.039 GB, free: 9.691 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001616/1.973, allocations: 81.67 kB / 1.039 GB, free: 9.59 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002744/1.976, allocations: 0.9492 MB / 1.04 GB, free: 8.633 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0003136/1.976, allocations: 41.7 kB / 1.04 GB, free: 8.586 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009784/1.977, allocations: 0.7697 MB / 1.041 GB, free: 7.801 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004035/1.978, allocations: 248.6 kB / 1.041 GB, free: 7.555 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001085/1.978, allocations: 20 kB / 1.041 GB, free: 7.535 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0002766/1.978, allocations: 402.7 kB / 1.041 GB, free: 7.133 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002203/1.98, allocations: 0.7989 MB / 1.042 GB, free: 6.336 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002655/1.983, allocations: 1.156 MB / 1.043 GB, free: 5.016 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002946/1.986, allocations: 0.9907 MB / 1.044 GB, free: 4.027 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.02e-05/1.986, allocations: 4 kB / 1.044 GB, free: 4.023 MB / 0.795 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01632/2.002, allocations: 3.78 MB / 1.048 GB, free: 232 kB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.003703/2.006, allocations: 4.273 MB / 1.052 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.373e-05/2.006, allocations: 12 kB / 1.052 GB, free: 11.61 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01509/2.021, allocations: 2.152 MB / 1.054 GB, free: 9.445 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001828/2.023, allocations: 227.6 kB / 1.054 GB, free: 9.223 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03086/2.054, allocations: 10.68 MB / 1.065 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002887/2.057, allocations: 199.6 kB / 1.065 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000214/2.057, allocations: 44 kB / 1.065 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.81e-05/2.057, allocations: 4 kB / 1.065 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01302/2.07, allocations: 3.083 MB / 1.068 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.361e-05/2.071, allocations: 12 kB / 1.068 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00893/2.08, allocations: 1.358 MB / 1.069 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002273/2.082, allocations: 295.5 kB / 1.07 GB, free: 9.293 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02136/2.103, allocations: 6.381 MB / 1.076 GB, free: 2.781 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00673/2.11, allocations: 171.7 kB / 1.076 GB, free: 2.613 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002212/2.11, allocations: 44.09 kB / 1.076 GB, free: 2.57 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (97): * Single equations (assignments): 95 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 12} * Non-linear torn systems: 1 {4 12} Notification: Performance of prepare postOptimizeDAE: time 0.003866/2.114, allocations: 0.9082 MB / 1.077 GB, free: 1.652 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005313/2.115, allocations: 90.97 kB / 1.077 GB, free: 1.562 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02355/2.138, allocations: 3.327 MB / 1.08 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-05/2.139, allocations: 12 kB / 1.08 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-05/2.139, allocations: 4 kB / 1.08 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.789e-05/2.139, allocations: 3.984 kB / 1.08 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02337/2.162, allocations: 5.489 MB / 1.086 GB, free: 8.594 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.171e-05/2.162, allocations: 4 kB / 1.086 GB, free: 8.59 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008043/2.163, allocations: 99.84 kB / 1.086 GB, free: 8.492 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01364/2.177, allocations: 1.982 MB / 1.088 GB, free: 6.504 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000299/2.177, allocations: 12 kB / 1.088 GB, free: 6.492 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03316/2.21, allocations: 10.08 MB / 1.097 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.403e-05/2.21, allocations: 4 kB / 1.097 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01721/2.228, allocations: 3.293 MB / 1.101 GB, free: 8.742 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001797/2.23, allocations: 340.2 kB / 1.101 GB, free: 8.391 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004713/2.23, allocations: 12 kB / 1.101 GB, free: 8.379 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001906/2.232, allocations: 155.7 kB / 1.101 GB, free: 8.227 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005615/2.233, allocations: 64.41 kB / 1.101 GB, free: 8.164 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000137/2.233, allocations: 23.95 kB / 1.101 GB, free: 8.141 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001887/2.235, allocations: 0.6746 MB / 1.102 GB, free: 7.473 MB / 0.8575 GB Notification: Performance of sort global known variables: time 4.2e-07/2.235, allocations: 0 / 1.102 GB, free: 7.473 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.005877/2.241, allocations: 0.7031 MB / 1.103 GB, free: 6.77 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (42): * Single equations (assignments): 40 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 12} * Non-linear torn systems: 1 {4 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.01756/2.258, allocations: 4.439 MB / 1.107 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.01519/2.273, allocations: 3.913 MB / 1.111 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.675e-05/2.274, allocations: 0 / 1.111 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.004397/2.278, allocations: 1.306 MB / 1.112 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002478/2.28, allocations: 249.5 kB / 1.112 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05613/2.337, allocations: 18.59 MB / 1.13 GB, free: 9.758 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003215/2.34, allocations: 1.754 MB / 1.132 GB, free: 7.973 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.00303/2.343, allocations: 0.5148 MB / 1.133 GB, free: 7.453 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001444/2.345, allocations: 0.4993 MB / 1.133 GB, free: 6.953 MB / 0.8887 GB Notification: Performance of SimCode: time 3.125e-06/2.345, allocations: 0 / 1.133 GB, free: 6.953 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2314/2.576, allocations: 41.81 MB / 1.174 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005288/2.577, allocations: 245.6 kB / 1.174 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.099/7.676, allocations: 0 / 1.174 GB, free: 13.27 MB / 0.9356 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_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.ACSimpleGrid_N_res.mat does not exist to compare? outputFormat=mat