Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.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,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid",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.0009749/0.0009751, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001344/0.001344, allocations: 172.7 kB / 15.95 MB, free: 208 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.549/1.549, allocations: 223.2 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.638/2.638, allocations: 409.4 MB / 0.684 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003489/0.000349, allocations: 8 kB / 0.8378 GB, free: 6.461 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7444/0.7447, allocations: 146.8 MB / 0.9812 GB, free: 6.215 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid): time 0.01275/0.7575, allocations: 10.71 MB / 0.9916 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.009793/0.7674, allocations: 5.009 MB / 0.9965 GB, free: 6.457 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002432/0.7698, allocations: 31.88 kB / 0.9965 GB, free: 6.426 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002263/0.7722, allocations: 290.1 kB / 0.9968 GB, free: 6.141 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.003083/0.7753, allocations: 0.5092 MB / 0.9973 GB, free: 5.629 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.002733/0.7781, allocations: 469.5 kB / 0.9977 GB, free: 5.172 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.004466/0.7826, allocations: 2.786 MB / 1 GB, free: 2.379 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006737/0.7893, allocations: 3.628 MB / 1.004 GB, free: 14.7 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002064/0.7914, allocations: 0.7278 MB / 1.005 GB, free: 13.96 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002328/0.7938, allocations: 1.005 MB / 1.006 GB, free: 12.96 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0005134/0.7943, allocations: 92 kB / 1.006 GB, free: 12.87 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001501/0.7958, allocations: 303.7 kB / 1.006 GB, free: 12.57 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.00115/0.797, allocations: 0.7287 MB / 1.007 GB, free: 11.84 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0007203/0.7977, allocations: 341 kB / 1.007 GB, free: 11.5 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.003174/0.8009, allocations: 3.027 MB / 1.01 GB, free: 8.465 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.8009, allocations: 0 / 1.01 GB, free: 8.465 MB / 0.7637 GB Notification: Performance of FrontEnd: time 3.246e-06/0.8009, allocations: 4 kB / 1.01 GB, free: 8.461 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0001047/0.801, allocations: 7.938 kB / 1.01 GB, free: 8.453 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: 406 * Number of variables: 406 Notification: Performance of Generate backend data structure: time 0.003771/0.8048, allocations: 1.634 MB / 1.012 GB, free: 6.766 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.8049, allocations: 15.97 kB / 1.012 GB, free: 6.75 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007256/0.8056, allocations: 248.2 kB / 1.012 GB, free: 6.496 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002689/0.8083, allocations: 477.5 kB / 1.012 GB, free: 6.027 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002297/0.8106, allocations: 1.143 MB / 1.014 GB, free: 4.844 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001055/0.8107, allocations: 115.1 kB / 1.014 GB, free: 4.73 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004541/0.8112, allocations: 152 kB / 1.014 GB, free: 4.582 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005655/0.8169, allocations: 2.739 MB / 1.016 GB, free: 1.777 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.48e-05/0.8169, allocations: 3.938 kB / 1.016 GB, free: 1.773 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002361/0.8172, allocations: 68 kB / 1.017 GB, free: 1.707 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003396/0.8175, allocations: 170.9 kB / 1.017 GB, free: 1.539 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00417/0.8217, allocations: 2.284 MB / 1.019 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01384/0.8356, allocations: 10.53 MB / 1.029 GB, free: 3.828 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001072/0.8367, allocations: 0.588 MB / 1.03 GB, free: 3.23 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006431/0.8374, allocations: 380.6 kB / 1.03 GB, free: 2.855 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001374/0.8375, allocations: 96.94 kB / 1.03 GB, free: 2.742 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.765e-05/0.8376, allocations: 42.56 kB / 1.03 GB, free: 2.691 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=36): time 4.438e-06/0.8376, allocations: 0 / 1.03 GB, free: 2.691 MB / 0.7794 GB Notification: Performance of matching and sorting (n=52): time 0.01973/0.8573, allocations: 6.271 MB / 1.036 GB, free: 12.36 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.81e-05/0.8574, allocations: 81.55 kB / 1.036 GB, free: 12.26 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001573/0.859, allocations: 0.8984 MB / 1.037 GB, free: 11.35 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0001238/0.8592, allocations: 33.7 kB / 1.037 GB, free: 11.31 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006029/0.8598, allocations: 0.7538 MB / 1.038 GB, free: 10.55 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002463/0.86, allocations: 193.4 kB / 1.038 GB, free: 10.36 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.802e-05/0.8601, allocations: 16 kB / 1.038 GB, free: 10.34 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001941/0.8603, allocations: 390.7 kB / 1.039 GB, free: 9.949 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001072/0.8614, allocations: 0.6382 MB / 1.039 GB, free: 9.309 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001364/0.8628, allocations: 1.011 MB / 1.04 GB, free: 8.133 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001333/0.8641, allocations: 0.8179 MB / 1.041 GB, free: 7.316 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.228e-05/0.8642, allocations: 4 kB / 1.041 GB, free: 7.312 MB / 0.795 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.00883/0.873, allocations: 3.198 MB / 1.044 GB, free: 4.09 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003518/0.8734, allocations: 439.3 kB / 1.045 GB, free: 3.5 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.638e-05/0.8734, allocations: 12 kB / 1.045 GB, free: 3.488 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009464/0.8829, allocations: 1.856 MB / 1.046 GB, free: 1.617 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001422/0.8844, allocations: 223.6 kB / 1.047 GB, free: 1.398 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02199/0.9064, allocations: 10.23 MB / 1.057 GB, free: 6.645 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002133/0.9086, allocations: 183.6 kB / 1.057 GB, free: 6.465 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002943/0.9089, allocations: 43.98 kB / 1.057 GB, free: 6.422 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.909, allocations: 4 kB / 1.057 GB, free: 6.418 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01095/0.92, allocations: 2.618 MB / 1.059 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.316e-05/0.9201, allocations: 16.12 kB / 1.059 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007435/0.9275, allocations: 1.203 MB / 1.061 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00159/0.9292, allocations: 251.5 kB / 1.061 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01123/0.9404, allocations: 5.535 MB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001715/0.9422, allocations: 151.8 kB / 1.066 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002697/0.9425, allocations: 44 kB / 1.066 GB, free: 12.32 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (99): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.002031/0.9446, allocations: 0.8406 MB / 1.067 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003482/0.9449, allocations: 75.06 kB / 1.067 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009335/0.9543, allocations: 2.691 MB / 1.07 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.53e-05/0.9543, allocations: 11.94 kB / 1.07 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/0.9544, allocations: 0 / 1.07 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.597e-05/0.9544, allocations: 3.984 kB / 1.07 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01105/0.9654, allocations: 4.632 MB / 1.075 GB, free: 3.906 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.114e-05/0.9655, allocations: 4.062 kB / 1.075 GB, free: 3.902 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004219/0.9659, allocations: 103.8 kB / 1.075 GB, free: 3.801 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006478/0.9724, allocations: 1.708 MB / 1.076 GB, free: 2.078 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001192/0.9726, allocations: 12 kB / 1.076 GB, free: 2.066 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01271/0.9853, allocations: 9.762 MB / 1.086 GB, free: 7.766 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/0.9853, allocations: 7.969 kB / 1.086 GB, free: 7.758 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007379/0.9927, allocations: 2.648 MB / 1.088 GB, free: 5.055 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007244/0.9935, allocations: 280.1 kB / 1.089 GB, free: 4.762 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003096/0.9938, allocations: 12 kB / 1.089 GB, free: 4.75 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009668/0.9948, allocations: 127.8 kB / 1.089 GB, free: 4.625 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000278/0.9951, allocations: 59.86 kB / 1.089 GB, free: 4.566 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.996e-05/0.9952, allocations: 16 kB / 1.089 GB, free: 4.551 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001114/0.9963, allocations: 0.6356 MB / 1.09 GB, free: 3.922 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9963, allocations: 0 / 1.09 GB, free: 3.922 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.002706/0.999, allocations: 0.5938 MB / 1.09 GB, free: 3.328 MB / 0.8419 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): 38 * 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: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.008018/1.007, allocations: 3.249 MB / 1.093 GB, free: 12 kB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.005966/1.013, allocations: 3.235 MB / 1.096 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 9.037e-06/1.013, allocations: 4.062 kB / 1.096 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.002261/1.015, allocations: 1.268 MB / 1.098 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001782/1.017, allocations: 221.4 kB / 1.098 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02312/1.04, allocations: 9.854 MB / 1.108 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002644/1.043, allocations: 1.618 MB / 1.109 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.001697/1.045, allocations: 494.3 kB / 1.11 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009673/1.046, allocations: 491.3 kB / 1.11 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of SimCode: time 2.064e-06/1.046, allocations: 0 / 1.11 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.062/1.108, allocations: 34.53 MB / 1.144 GB, free: 12.28 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002166/1.108, allocations: 254.5 kB / 1.144 GB, free: 11.94 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.345/3.453, allocations: 0 / 1.144 GB, free: 11.94 MB / 0.9044 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.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_res.mat does not exist to compare? outputFormat=mat