Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.343/2.343, allocations: 390.3 MB / 402.8 MB, free: 6.676 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001449/0.00145, allocations: 176.9 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.648/1.648, allocations: 221.3 MB / 0.7915 GB, free: 5.41 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 95.67 kB / 0.9318 GB, free: 5.723 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.334e-05/4.347e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2938/0.2939, allocations: 143 MB / 1.219 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.027/1.321, allocations: 170.7 MB / 1.386 GB, free: 0.8672 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002833/1.322, allocations: 98.75 kB / 1.386 GB, free: 0.8125 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.03299/1.355, allocations: 13.51 MB / 1.399 GB, free: 5.363 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.713e-06/1.355, allocations: 8 kB / 1.399 GB, free: 5.355 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.843e-05/1.355, allocations: 0 / 1.399 GB, free: 5.355 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007187/1.356, allocations: 454.8 kB / 1.399 GB, free: 4.879 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/1.356, allocations: 8.031 kB / 1.399 GB, free: 4.871 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.738e-05/1.356, allocations: 53.66 kB / 1.399 GB, free: 4.816 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006098/1.356, allocations: 67.55 kB / 1.399 GB, free: 4.754 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003248/1.357, allocations: 230.5 kB / 1.4 GB, free: 4.5 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/1.357, allocations: 7.688 kB / 1.4 GB, free: 4.496 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.628e-05/1.357, allocations: 15.25 kB / 1.4 GB, free: 4.484 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004561/1.357, allocations: 279.1 kB / 1.4 GB, free: 4.23 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/1.357, allocations: 0 / 1.4 GB, free: 4.23 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.467e-05/1.357, allocations: 7.375 kB / 1.4 GB, free: 4.227 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.338e-05/1.357, allocations: 12.23 kB / 1.4 GB, free: 4.215 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003223/1.358, allocations: 204.5 kB / 1.4 GB, free: 4.074 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001891/1.359, allocations: 1.591 MB / 1.402 GB, free: 2.48 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001064/1.36, allocations: 72.55 kB / 1.402 GB, free: 2.402 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.172e-05/1.36, allocations: 48.44 kB / 1.402 GB, free: 2.355 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.379e-05/1.36, allocations: 3.953 kB / 1.402 GB, free: 2.352 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/1.36, allocations: 38.5 kB / 1.402 GB, free: 2.309 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/1.36, allocations: 7.938 kB / 1.402 GB, free: 2.301 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8): time 0.0004798/1.36, allocations: 175.1 kB / 1.402 GB, free: 2.141 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.422e-05/1.36, allocations: 81.11 kB / 1.402 GB, free: 2.043 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002353/1.361, allocations: 208.1 kB / 1.402 GB, free: 1.863 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/1.361, allocations: 25.7 kB / 1.402 GB, free: 1.832 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/1.361, allocations: 161.2 kB / 1.402 GB, free: 1.684 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.402e-05/1.361, allocations: 38.94 kB / 1.402 GB, free: 1.648 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.18e-05/1.361, allocations: 3.625 kB / 1.402 GB, free: 1.648 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001476/1.361, allocations: 326.2 kB / 1.403 GB, free: 1.328 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001189/1.361, allocations: 76.59 kB / 1.403 GB, free: 1.277 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001789/1.361, allocations: 154.8 kB / 1.403 GB, free: 1.117 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001551/1.361, allocations: 99.81 kB / 1.403 GB, free: 1.047 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/1.361, allocations: 4 kB / 1.403 GB, free: 1.043 MB / 0.8542 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003985/1.362, allocations: 263.1 kB / 1.403 GB, free: 0.8359 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005948/1.362, allocations: 1.143 MB / 1.404 GB, free: 15.62 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/1.362, allocations: 4 kB / 1.404 GB, free: 15.62 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/1.362, allocations: 4 kB / 1.404 GB, free: 15.62 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002488/1.363, allocations: 55.22 kB / 1.405 GB, free: 15.57 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.424e-05/1.363, allocations: 11.98 kB / 1.405 GB, free: 15.55 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002202/1.363, allocations: 31.56 kB / 1.405 GB, free: 15.53 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.041e-05/1.363, allocations: 8 kB / 1.405 GB, free: 15.52 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 9.949e-06/1.363, allocations: 5.406 kB / 1.405 GB, free: 15.52 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003019/1.363, allocations: 209.2 kB / 1.405 GB, free: 15.36 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/1.363, allocations: 8.031 kB / 1.405 GB, free: 15.36 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.27e-06/1.363, allocations: 4 kB / 1.405 GB, free: 15.35 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001778/1.364, allocations: 51.86 kB / 1.405 GB, free: 15.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/1.364, allocations: 4 kB / 1.405 GB, free: 15.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001289/1.364, allocations: 19.73 kB / 1.405 GB, free: 15.28 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.831e-05/1.364, allocations: 15.92 kB / 1.405 GB, free: 15.27 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.213e-05/1.364, allocations: 117.9 kB / 1.405 GB, free: 15.15 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.139e-05/1.364, allocations: 11.81 kB / 1.405 GB, free: 15.14 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002185/1.364, allocations: 125.9 kB / 1.405 GB, free: 15.04 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/1.364, allocations: 0 / 1.405 GB, free: 15.04 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/1.364, allocations: 3.953 kB / 1.405 GB, free: 15.03 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/1.364, allocations: 4 kB / 1.405 GB, free: 15.03 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007442/1.365, allocations: 0.6183 MB / 1.406 GB, free: 14.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/1.365, allocations: 4 kB / 1.406 GB, free: 14.39 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.196e-05/1.365, allocations: 15.98 kB / 1.406 GB, free: 14.38 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/1.365, allocations: 4.047 kB / 1.406 GB, free: 14.38 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/1.365, allocations: 3.984 kB / 1.406 GB, free: 14.37 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/1.365, allocations: 4 kB / 1.406 GB, free: 14.37 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.481e-06/1.365, allocations: 7.938 kB / 1.406 GB, free: 14.36 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003307/1.365, allocations: 413.9 kB / 1.406 GB, free: 13.91 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.705e-05/1.365, allocations: 108.5 kB / 1.406 GB, free: 13.79 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.757e-05/1.366, allocations: 2.625 kB / 1.406 GB, free: 13.79 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001637/1.366, allocations: 11.98 kB / 1.406 GB, free: 13.77 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.38e-05/1.366, allocations: 15.88 kB / 1.406 GB, free: 13.76 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.683e-06/1.366, allocations: 4 kB / 1.406 GB, free: 13.76 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.000162/1.366, allocations: 164.6 kB / 1.406 GB, free: 13.62 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.1e-07/1.366, allocations: 0 / 1.406 GB, free: 13.62 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0004868/1.366, allocations: 87.69 kB / 1.407 GB, free: 13.54 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008759/1.367, allocations: 1.429 MB / 1.408 GB, free: 12.07 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0004313/1.368, allocations: 275.9 kB / 1.408 GB, free: 11.88 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/1.368, allocations: 0 / 1.408 GB, free: 11.88 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 5.836e-05/1.368, allocations: 46.67 kB / 1.408 GB, free: 11.84 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003287/1.368, allocations: 31.48 kB / 1.408 GB, free: 11.81 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008062/1.369, allocations: 342.3 kB / 1.409 GB, free: 11.46 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003781/1.369, allocations: 0.7423 MB / 1.409 GB, free: 10.7 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0002181/1.37, allocations: 73.47 kB / 1.409 GB, free: 10.62 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.559e-05/1.37, allocations: 43.86 kB / 1.409 GB, free: 10.61 MB / 0.8698 GB Notification: Performance of SimCode: time 3.21e-07/1.37, allocations: 0 / 1.409 GB, free: 10.61 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01577/1.385, allocations: 3.324 MB / 1.413 GB, free: 7.492 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001942/1.386, allocations: 187.5 kB / 1.413 GB, free: 7.27 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.899/3.284, allocations: 4 kB / 1.413 GB, free: 7.266 MB / 0.8698 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource_res.mat does not exist to compare? outputFormat=mat