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.346/2.346, allocations: 390.5 MB / 398 MB, free: 10.93 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.001088/0.001088, allocations: 172.9 kB / 491.2 MB, free: 1.555 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.635/1.635, allocations: 221.5 MB / 0.7868 GB, free: 13.29 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.0009014/0.0009009, allocations: 105.2 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.624e-05/2.628e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4068/0.4068, allocations: 143 MB / 1.212 GB, free: 39.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.02/1.427, allocations: 170 MB / 1.378 GB, free: 17.51 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003564/1.427, allocations: 90.39 kB / 1.379 GB, free: 17.51 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0291/1.456, allocations: 13.47 MB / 1.392 GB, free: 29.07 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.272e-06/1.456, allocations: 0 / 1.392 GB, free: 29.07 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.743e-05/1.456, allocations: 3.844 kB / 1.392 GB, free: 29.07 MB / 0.8386 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.0005634/1.457, allocations: 452.5 kB / 1.392 GB, free: 28.65 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/1.457, allocations: 19.61 kB / 1.392 GB, free: 28.64 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006543/1.458, allocations: 65.84 kB / 1.392 GB, free: 28.62 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002297/1.458, allocations: 231.5 kB / 1.392 GB, free: 28.39 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/1.458, allocations: 3.812 kB / 1.392 GB, free: 28.39 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.811e-05/1.458, allocations: 7.531 kB / 1.392 GB, free: 28.39 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002382/1.458, allocations: 153.8 kB / 1.393 GB, free: 28.37 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002835/1.458, allocations: 257.1 kB / 1.393 GB, free: 28.21 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/1.458, allocations: 0 / 1.393 GB, free: 28.21 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.066e-05/1.458, allocations: 0 / 1.393 GB, free: 28.21 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.832e-05/1.459, allocations: 15.42 kB / 1.393 GB, free: 28.21 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001379/1.46, allocations: 1.542 MB / 1.394 GB, free: 26.88 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.12e-05/1.46, allocations: 77.75 kB / 1.394 GB, free: 26.81 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.394e-05/1.46, allocations: 41.36 kB / 1.394 GB, free: 26.79 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.352e-05/1.46, allocations: 0 / 1.394 GB, free: 26.79 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.137e-05/1.46, allocations: 30.56 kB / 1.394 GB, free: 26.75 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 9.12e-07/1.46, allocations: 0 / 1.394 GB, free: 26.75 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0004022/1.461, allocations: 179.7 kB / 1.395 GB, free: 26.66 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.623e-05/1.461, allocations: 81.2 kB / 1.395 GB, free: 26.56 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001718/1.461, allocations: 196.6 kB / 1.395 GB, free: 26.44 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/1.461, allocations: 25.7 kB / 1.395 GB, free: 26.41 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.459e-05/1.461, allocations: 163.2 kB / 1.395 GB, free: 26.27 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.129e-05/1.461, allocations: 30.92 kB / 1.395 GB, free: 26.25 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.14e-05/1.461, allocations: 0 / 1.395 GB, free: 26.25 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.909e-05/1.461, allocations: 322.3 kB / 1.395 GB, free: 25.93 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.658e-05/1.461, allocations: 71.41 kB / 1.395 GB, free: 25.93 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001183/1.461, allocations: 157.5 kB / 1.396 GB, free: 25.81 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001803/1.461, allocations: 101.1 kB / 1.396 GB, free: 25.79 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/1.461, allocations: 3.938 kB / 1.396 GB, free: 25.78 MB / 0.8386 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003734/1.462, allocations: 262.5 kB / 1.396 GB, free: 25.7 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003787/1.462, allocations: 1.126 MB / 1.397 GB, free: 24.51 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/1.462, allocations: 7.875 kB / 1.397 GB, free: 24.5 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/1.462, allocations: 3.844 kB / 1.397 GB, free: 24.5 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002481/1.462, allocations: 54.64 kB / 1.397 GB, free: 24.49 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/1.463, allocations: 7.812 kB / 1.397 GB, free: 24.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001941/1.463, allocations: 31.41 kB / 1.397 GB, free: 24.46 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.995e-05/1.463, allocations: 14.94 kB / 1.397 GB, free: 24.46 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.744e-06/1.463, allocations: 5.062 kB / 1.397 GB, free: 24.46 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002834/1.463, allocations: 193.7 kB / 1.397 GB, free: 24.42 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.746e-06/1.463, allocations: 0 / 1.397 GB, free: 24.42 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.929e-06/1.463, allocations: 7.781 kB / 1.397 GB, free: 24.42 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001597/1.463, allocations: 49.78 kB / 1.397 GB, free: 24.41 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/1.463, allocations: 7.75 kB / 1.397 GB, free: 24.4 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001246/1.463, allocations: 15.81 kB / 1.397 GB, free: 24.39 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.308e-05/1.463, allocations: 11.7 kB / 1.397 GB, free: 24.39 MB / 0.8386 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 7.801e-05/1.463, allocations: 116.2 kB / 1.398 GB, free: 24.28 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000159/1.464, allocations: 120.6 kB / 1.398 GB, free: 24.22 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.424e-05/1.464, allocations: 11.56 kB / 1.398 GB, free: 24.21 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001651/1.464, allocations: 113.8 kB / 1.398 GB, free: 24.15 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/1.464, allocations: 3.953 kB / 1.398 GB, free: 24.15 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/1.464, allocations: 3.719 kB / 1.398 GB, free: 24.15 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/1.464, allocations: 0 / 1.398 GB, free: 24.15 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006546/1.465, allocations: 0.5686 MB / 1.398 GB, free: 23.69 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/1.465, allocations: 3.953 kB / 1.398 GB, free: 23.68 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.259e-05/1.465, allocations: 27.31 kB / 1.398 GB, free: 23.67 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/1.465, allocations: 3.656 kB / 1.398 GB, free: 23.67 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/1.465, allocations: 0 / 1.398 GB, free: 23.67 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/1.465, allocations: 3.531 kB / 1.398 GB, free: 23.67 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/1.465, allocations: 8.062 kB / 1.398 GB, free: 23.67 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002157/1.465, allocations: 402 kB / 1.399 GB, free: 23.27 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.891e-05/1.465, allocations: 108.2 kB / 1.399 GB, free: 23.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.143e-05/1.465, allocations: 7.828 kB / 1.399 GB, free: 23.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002026/1.465, allocations: 15.8 kB / 1.399 GB, free: 23.15 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.959e-05/1.465, allocations: 7.844 kB / 1.399 GB, free: 23.15 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/1.465, allocations: 3.844 kB / 1.399 GB, free: 23.15 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001219/1.465, allocations: 162.8 kB / 1.399 GB, free: 23.05 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.61e-07/1.465, allocations: 0 / 1.399 GB, free: 23.05 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0009353/1.466, allocations: 76.36 kB / 1.399 GB, free: 23.05 MB / 0.8386 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.000677/1.467, allocations: 1.427 MB / 1.401 GB, free: 21.64 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003271/1.467, allocations: 260.4 kB / 1.401 GB, free: 21.59 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/1.467, allocations: 0 / 1.401 GB, free: 21.59 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.999e-05/1.467, allocations: 45.09 kB / 1.401 GB, free: 21.58 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004828/1.468, allocations: 27.31 kB / 1.401 GB, free: 21.57 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000712/1.469, allocations: 329.8 kB / 1.401 GB, free: 21.33 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003334/1.469, allocations: 0.7372 MB / 1.402 GB, free: 20.61 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002118/1.469, allocations: 76.34 kB / 1.402 GB, free: 20.57 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.166e-05/1.469, allocations: 42.95 kB / 1.402 GB, free: 20.56 MB / 0.8386 GB Notification: Performance of SimCode: time 2.71e-07/1.469, allocations: 0 / 1.402 GB, free: 20.56 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02515/1.494, allocations: 2.919 MB / 1.405 GB, free: 19.09 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0006882/1.495, allocations: 184.6 kB / 1.405 GB, free: 18.89 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.704/3.199, allocations: 0 / 1.405 GB, free: 18.89 MB / 0.8386 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