Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.385/1.385, allocations: 249.5 MB / 257 MB, free: 6.988 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009924/0.0009921, allocations: 169 kB / 316.3 MB, free: 3.309 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.476/1.476, allocations: 205.3 MB / 0.5671 GB, free: 15.9 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008602/0.0008603, allocations: 96.39 kB / 0.6714 GB, free: 5.008 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.09e-05/2.088e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1954/0.1954, allocations: 106.3 MB / 0.8853 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.766/0.9614, allocations: 168.7 MB / 1.05 GB, free: 2.383 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003403/0.9619, allocations: 103.4 kB / 1.05 GB, free: 2.324 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.2339/1.196, allocations: 95.49 MB / 1.143 GB, free: 12.91 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.232e-06/1.196, allocations: 0 / 1.143 GB, free: 12.91 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0001191/1.196, allocations: 56 kB / 1.144 GB, free: 12.85 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 689 * Number of variables: 689 Notification: Performance of Generate backend data structure: time 0.00457/1.2, allocations: 2.179 MB / 1.146 GB, free: 10.62 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/1.201, allocations: 12.03 kB / 1.146 GB, free: 10.61 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004114/1.205, allocations: 0.7461 MB / 1.146 GB, free: 9.855 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002697/1.207, allocations: 1.453 MB / 1.148 GB, free: 8.359 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.607e-05/1.207, allocations: 84 kB / 1.148 GB, free: 8.277 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003404/1.208, allocations: 147.9 kB / 1.148 GB, free: 8.133 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005003/1.213, allocations: 2.966 MB / 1.151 GB, free: 5.16 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006001/1.219, allocations: 3.774 MB / 1.155 GB, free: 1.188 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.184e-05/1.219, allocations: 7.938 kB / 1.155 GB, free: 1.18 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002478/1.219, allocations: 8 kB / 1.155 GB, free: 1.172 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002057/1.219, allocations: 160.3 kB / 1.155 GB, free: 1.016 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0237/1.243, allocations: 20.69 MB / 1.175 GB, free: 10.44 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006473/1.244, allocations: 0.5084 MB / 1.175 GB, free: 9.859 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005796/1.244, allocations: 482.5 kB / 1.176 GB, free: 9.363 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 4.199e-05/1.244, allocations: 20.66 kB / 1.176 GB, free: 9.344 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.908e-05/1.245, allocations: 58.39 kB / 1.176 GB, free: 9.277 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=50): time 3.847e-06/1.245, allocations: 0 / 1.176 GB, free: 9.277 MB / 0.7917 GB Notification: Performance of matching and sorting (n=56): time 0.005048/1.25, allocations: 3.569 MB / 1.179 GB, free: 5.652 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001261/1.25, allocations: 247.8 kB / 1.18 GB, free: 5.355 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001398/1.251, allocations: 1.111 MB / 1.181 GB, free: 4.223 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 4.186e-05/1.251, allocations: 25.7 kB / 1.181 GB, free: 4.191 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008013/1.252, allocations: 1.226 MB / 1.182 GB, free: 2.945 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001903/1.252, allocations: 205.2 kB / 1.182 GB, free: 2.742 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.754e-05/1.252, allocations: 0 / 1.182 GB, free: 2.742 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001978/1.252, allocations: 406.7 kB / 1.183 GB, free: 2.336 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009582/1.253, allocations: 0.7379 MB / 1.183 GB, free: 1.598 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001444/1.255, allocations: 1.416 MB / 1.185 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001648/1.257, allocations: 1.111 MB / 1.186 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.979e-06/1.257, allocations: 4 kB / 1.186 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003317/1.26, allocations: 2.215 MB / 1.188 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.003813/1.264, allocations: 9.392 MB / 1.197 GB, free: 2.379 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.6e-05/1.264, allocations: 24 kB / 1.197 GB, free: 2.355 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.028e-05/1.264, allocations: 39.94 kB / 1.197 GB, free: 2.316 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001494/1.265, allocations: 451.2 kB / 1.198 GB, free: 1.875 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.953e-05/1.265, allocations: 43.86 kB / 1.198 GB, free: 1.832 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001571/1.267, allocations: 255.2 kB / 1.198 GB, free: 1.582 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001306/1.267, allocations: 87.97 kB / 1.198 GB, free: 1.496 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/1.267, allocations: 7.938 kB / 1.198 GB, free: 1.488 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002774/1.27, allocations: 1.856 MB / 1.2 GB, free: 15.63 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.449e-05/1.27, allocations: 27.98 kB / 1.2 GB, free: 15.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.395e-05/1.27, allocations: 39.98 kB / 1.2 GB, free: 15.56 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001235/1.271, allocations: 403.2 kB / 1.2 GB, free: 15.17 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.11e-05/1.271, allocations: 51.84 kB / 1.2 GB, free: 15.12 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001079/1.272, allocations: 147.5 kB / 1.2 GB, free: 14.97 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001208/1.272, allocations: 84.17 kB / 1.201 GB, free: 14.89 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (192): * Single equations (assignments): 192 * 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 0.0002478/1.273, allocations: 168.3 kB / 1.201 GB, free: 14.72 MB / 0.823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001346/1.274, allocations: 0.9354 MB / 1.202 GB, free: 13.78 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002512/1.274, allocations: 102.8 kB / 1.202 GB, free: 13.68 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001214/1.276, allocations: 0.8377 MB / 1.203 GB, free: 12.83 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/1.276, allocations: 8 kB / 1.203 GB, free: 12.82 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/1.276, allocations: 4 kB / 1.203 GB, free: 12.82 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/1.276, allocations: 7.984 kB / 1.203 GB, free: 12.81 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009375/1.285, allocations: 7.37 MB / 1.21 GB, free: 5.254 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-05/1.285, allocations: 12.09 kB / 1.21 GB, free: 5.242 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004847/1.286, allocations: 135.8 kB / 1.21 GB, free: 5.109 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.388e-05/1.286, allocations: 24.02 kB / 1.21 GB, free: 5.086 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.305e-05/1.286, allocations: 19.94 kB / 1.21 GB, free: 5.066 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.952e-05/1.286, allocations: 27.86 kB / 1.21 GB, free: 5.039 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.46e-05/1.286, allocations: 15.94 kB / 1.21 GB, free: 5.023 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002317/1.288, allocations: 2.388 MB / 1.212 GB, free: 2.18 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005875/1.289, allocations: 347.6 kB / 1.213 GB, free: 1.82 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000146/1.289, allocations: 12 kB / 1.213 GB, free: 1.809 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009587/1.29, allocations: 107.8 kB / 1.213 GB, free: 1.703 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.861e-05/1.29, allocations: 67.73 kB / 1.213 GB, free: 1.637 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.465e-05/1.29, allocations: 32 kB / 1.213 GB, free: 1.605 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001159/1.291, allocations: 0.8407 MB / 1.214 GB, free: 0.7539 MB / 0.823 GB Notification: Performance of sort global known variables: time 3.11e-07/1.291, allocations: 7.766 kB / 1.214 GB, free: 0.75 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.003125/1.294, allocations: 0.75 MB / 1.214 GB, free: 0 / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 56 * 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.003638/1.298, allocations: 6.447 MB / 1.221 GB, free: 9.195 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.003533/1.301, allocations: 2.385 MB / 1.223 GB, free: 6.816 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 8.776e-06/1.301, allocations: 0.5 kB / 1.223 GB, free: 6.816 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0005238/1.302, allocations: 430 kB / 1.223 GB, free: 6.398 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001483/1.303, allocations: 199.9 kB / 1.224 GB, free: 6.207 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007779/1.311, allocations: 4.03 MB / 1.228 GB, free: 1.969 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001914/1.313, allocations: 2.038 MB / 1.23 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.002194/1.315, allocations: 0.8598 MB / 1.23 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008689/1.316, allocations: 0.7062 MB / 1.231 GB, free: 14.33 MB / 0.8542 GB Notification: Performance of SimCode: time 8.61e-07/1.316, allocations: 0 / 1.231 GB, free: 14.33 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05437/1.371, allocations: 27.8 MB / 1.258 GB, free: 2.617 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002016/1.371, allocations: 190.2 kB / 1.258 GB, free: 2.422 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.532/3.903, allocations: 0 / 1.258 GB, free: 2.422 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1)