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.001061/0.001061, allocations: 94.03 kB / 15.06 MB, free: 1.086 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.00116/0.00116, 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.538/1.538, allocations: 223.2 MB / 240 MB, free: 5.227 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.615/2.615, allocations: 409.4 MB / 0.684 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005157/0.0005157, allocations: 8 kB / 0.8378 GB, free: 6.438 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8077/0.8083, allocations: 146.8 MB / 0.9811 GB, free: 6.215 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N): time 0.01201/0.8203, allocations: 10.82 MB / 0.9917 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.00832/0.8287, allocations: 5.208 MB / 0.9968 GB, free: 6.137 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000984/0.8297, allocations: 35.81 kB / 0.9968 GB, free: 6.102 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0008658/0.8306, allocations: 290 kB / 0.9971 GB, free: 5.816 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.001334/0.832, allocations: 0.5286 MB / 0.9976 GB, free: 5.285 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001444/0.8334, allocations: 494.8 kB / 0.9981 GB, free: 4.801 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.00295/0.8364, allocations: 2.922 MB / 1.001 GB, free: 1.871 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0053/0.8417, allocations: 3.871 MB / 1.005 GB, free: 13.95 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001453/0.8432, allocations: 0.7707 MB / 1.005 GB, free: 13.17 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001461/0.8446, allocations: 1.094 MB / 1.007 GB, free: 12.07 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0001695/0.8448, allocations: 104 kB / 1.007 GB, free: 11.97 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008993/0.8457, allocations: 327.7 kB / 1.007 GB, free: 11.65 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0007075/0.8464, allocations: 0.7404 MB / 1.008 GB, free: 10.91 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0003851/0.8468, allocations: 360.9 kB / 1.008 GB, free: 10.55 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.003/0.8498, allocations: 3.281 MB / 1.011 GB, free: 7.262 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 9.257e-06/0.8499, allocations: 0 / 1.011 GB, free: 7.262 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.044e-06/0.8499, allocations: 0 / 1.011 GB, free: 7.262 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.436e-05/0.8499, allocations: 0 / 1.011 GB, free: 7.262 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.003359/0.8533, allocations: 1.773 MB / 1.013 GB, free: 5.434 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/0.8534, allocations: 12.03 kB / 1.013 GB, free: 5.422 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003701/0.8537, allocations: 256.8 kB / 1.013 GB, free: 5.16 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002902/0.8566, allocations: 0.7509 MB / 1.014 GB, free: 4.406 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002003/0.8587, allocations: 1.231 MB / 1.015 GB, free: 3.133 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.286e-05/0.8588, allocations: 119.2 kB / 1.015 GB, free: 3.016 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002564/0.859, allocations: 160 kB / 1.015 GB, free: 2.859 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00469/0.8637, allocations: 2.937 MB / 1.018 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.633e-05/0.8638, allocations: 15.84 kB / 1.018 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001747/0.864, allocations: 71.94 kB / 1.018 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004005/0.8644, allocations: 199 kB / 1.019 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003919/0.8683, allocations: 2.499 MB / 1.021 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01338/0.8817, allocations: 10.92 MB / 1.032 GB, free: 1.262 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001333/0.8831, allocations: 0.9199 MB / 1.033 GB, free: 300 kB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007448/0.8839, allocations: 0.4973 MB / 1.033 GB, free: 15.79 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001433/0.884, allocations: 101.4 kB / 1.033 GB, free: 15.68 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.255e-05/0.8841, allocations: 38.94 kB / 1.033 GB, free: 15.63 MB / 0.795 GB Notification: Performance of pre-optimization done (n=46): time 2.695e-06/0.8841, allocations: 0 / 1.033 GB, free: 15.63 MB / 0.795 GB Notification: Performance of matching and sorting (n=70): time 0.02588/0.91, allocations: 8.96 MB / 1.042 GB, free: 6.594 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.838e-05/0.9101, allocations: 89.61 kB / 1.042 GB, free: 6.484 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001888/0.912, allocations: 0.9453 MB / 1.043 GB, free: 5.531 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0001522/0.9122, allocations: 41.7 kB / 1.043 GB, free: 5.484 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009306/0.9131, allocations: 0.7775 MB / 1.044 GB, free: 4.691 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003247/0.9134, allocations: 244.6 kB / 1.044 GB, free: 4.449 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.9136, allocations: 20 kB / 1.044 GB, free: 4.43 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000232/0.9138, allocations: 402.7 kB / 1.044 GB, free: 4.027 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001555/0.9154, allocations: 0.7989 MB / 1.045 GB, free: 3.23 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001902/0.9173, allocations: 1.16 MB / 1.046 GB, free: 1.906 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001716/0.919, allocations: 0.9985 MB / 1.047 GB, free: 0.9102 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.056e-05/0.919, allocations: 0 / 1.047 GB, free: 0.9102 MB / 0.795 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01041/0.9295, allocations: 3.78 MB / 1.051 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005208/0.93, allocations: 414.2 kB / 1.051 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.684e-05/0.9301, allocations: 12 kB / 1.051 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007948/0.938, allocations: 2.164 MB / 1.053 GB, free: 10.37 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009967/0.9391, allocations: 223.6 kB / 1.054 GB, free: 10.15 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01726/0.9564, allocations: 10.27 MB / 1.064 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001469/0.9579, allocations: 199.6 kB / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001993/0.9581, allocations: 44 kB / 1.064 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.558e-06/0.9581, allocations: 4 kB / 1.064 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007651/0.9658, allocations: 3.076 MB / 1.067 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.205e-05/0.9659, allocations: 12 kB / 1.067 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005285/0.9712, allocations: 1.363 MB / 1.068 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001161/0.9723, allocations: 287.5 kB / 1.069 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01151/0.9839, allocations: 6.154 MB / 1.075 GB, free: 4.359 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001406/0.9853, allocations: 171.7 kB / 1.075 GB, free: 4.191 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002136/0.9856, allocations: 47.98 kB / 1.075 GB, free: 4.145 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.001727/0.9873, allocations: 0.8947 MB / 1.076 GB, free: 3.238 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003051/0.9876, allocations: 94.86 kB / 1.076 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009235/0.9969, allocations: 3.331 MB / 1.079 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-05/0.997, allocations: 8.188 kB / 1.079 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-05/0.997, allocations: 4 kB / 1.079 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.711e-05/0.997, allocations: 7.969 kB / 1.079 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01315/1.01, allocations: 5.481 MB / 1.084 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-05/1.01, allocations: 4 kB / 1.084 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004867/1.011, allocations: 112 kB / 1.084 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007175/1.018, allocations: 1.978 MB / 1.086 GB, free: 8.082 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001377/1.018, allocations: 12 kB / 1.086 GB, free: 8.07 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01492/1.033, allocations: 9.66 MB / 1.096 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/1.033, allocations: 4 kB / 1.096 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008375/1.041, allocations: 3.206 MB / 1.099 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00103/1.043, allocations: 339.9 kB / 1.099 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004149/1.043, allocations: 12 kB / 1.099 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001172/1.044, allocations: 155.8 kB / 1.099 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004156/1.045, allocations: 68.36 kB / 1.1 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.348e-05/1.045, allocations: 20 kB / 1.1 GB, free: 10.28 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001363/1.046, allocations: 0.6707 MB / 1.1 GB, free: 9.613 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/1.046, allocations: 0 / 1.1 GB, free: 9.613 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.003557/1.05, allocations: 0.7031 MB / 1.101 GB, free: 8.91 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.009294/1.059, allocations: 3.807 MB / 1.105 GB, free: 5.047 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.008259/1.067, allocations: 3.913 MB / 1.108 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 7.574e-06/1.067, allocations: 0 / 1.108 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.002252/1.07, allocations: 1.302 MB / 1.11 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001715/1.071, allocations: 260.9 kB / 1.11 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02501/1.096, allocations: 11.42 MB / 1.121 GB, free: 3.789 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002274/1.099, allocations: 1.723 MB / 1.123 GB, free: 2.031 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.001584/1.1, allocations: 0.5109 MB / 1.123 GB, free: 1.516 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008072/1.101, allocations: 0.5071 MB / 1.124 GB, free: 1.008 MB / 0.8731 GB Notification: Performance of SimCode: time 9.21e-07/1.101, allocations: 0 / 1.124 GB, free: 1.008 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07731/1.178, allocations: 41.84 MB / 1.165 GB, free: 7.59 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002288/1.179, allocations: 251.5 kB / 1.165 GB, free: 7.258 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.375/3.554, allocations: 0 / 1.165 GB, free: 7.258 MB / 0.92 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