Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_9_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001514/0.001514, 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.001715/0.001715, 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.437/1.437, allocations: 223.2 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.497/2.497, allocations: 390.4 MB / 0.6655 GB, free: 2.918 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0006624/0.0006625, allocations: 12 kB / 0.8149 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8214/0.8221, allocations: 142.3 MB / 0.9539 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource): time 0.003443/0.8256, allocations: 2.259 MB / 0.9561 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002002/0.8276, allocations: 1.312 MB / 0.9573 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001208/0.8277, allocations: 5.281 kB / 0.9573 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001669/0.8279, allocations: 15.39 kB / 0.9574 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003294/0.8283, allocations: 107.2 kB / 0.9575 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004338/0.8287, allocations: 148.4 kB / 0.9576 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003169/0.829, allocations: 258.5 kB / 0.9578 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004749/0.8295, allocations: 221.5 kB / 0.9581 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001358/0.8297, allocations: 66.2 kB / 0.9581 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002386/0.8299, allocations: 103.3 kB / 0.9582 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.513e-05/0.8299, allocations: 6.531 kB / 0.9582 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002118/0.8302, allocations: 106.8 kB / 0.9583 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.844e-05/0.8302, allocations: 53.86 kB / 0.9584 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.215e-05/0.8303, allocations: 55.02 kB / 0.9584 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002558/0.8305, allocations: 204.4 kB / 0.9586 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.8306, allocations: 0 / 0.9586 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.294e-06/0.8306, allocations: 0 / 0.9586 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.8306, allocations: 1.312 kB / 0.9586 GB, free: 4.496 MB / 0.7169 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.0006168/0.8312, allocations: 456.6 kB / 0.9591 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.8313, allocations: 9.594 kB / 0.9591 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.679e-05/0.8313, allocations: 52.62 kB / 0.9591 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004879/0.8318, allocations: 64.14 kB / 0.9592 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002249/0.832, allocations: 225 kB / 0.9594 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.8321, allocations: 10.06 kB / 0.9594 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.853e-05/0.8321, allocations: 12.28 kB / 0.9594 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003912/0.8325, allocations: 282.1 kB / 0.9597 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.8325, allocations: 3.938 kB / 0.9597 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.588e-05/0.8326, allocations: 15.8 kB / 0.9597 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.664e-05/0.8326, allocations: 12.02 kB / 0.9597 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003557/0.833, allocations: 209.2 kB / 0.9599 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00134/0.8343, allocations: 1.576 MB / 0.9615 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003364/0.8347, allocations: 317.3 kB / 0.9618 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001013/0.8348, allocations: 69.77 kB / 0.9618 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.8348, allocations: 1.188 kB / 0.9618 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.669e-05/0.8348, allocations: 36.34 kB / 0.9619 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.403e-06/0.8348, allocations: 0 / 0.9619 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0005426/0.8354, allocations: 250.4 kB / 0.9621 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.829e-05/0.8354, allocations: 79.14 kB / 0.9622 GB, free: 1.234 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001812/0.8356, allocations: 195.1 kB / 0.9624 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.256e-05/0.8356, allocations: 29.7 kB / 0.9624 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.313e-05/0.8357, allocations: 154.2 kB / 0.9625 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.48e-05/0.8357, allocations: 36.36 kB / 0.9626 GB, free: 0.8711 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.089e-05/0.8358, allocations: 5 kB / 0.9626 GB, free: 0.8672 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.612e-05/0.8358, allocations: 327 kB / 0.9629 GB, free: 0.543 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001052/0.8359, allocations: 77.73 kB / 0.963 GB, free: 0.5 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001368/0.8361, allocations: 141.9 kB / 0.9631 GB, free: 372 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001399/0.8362, allocations: 98.05 kB / 0.9632 GB, free: 320 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.8362, allocations: 5.328 kB / 0.9632 GB, free: 316 kB / 0.7169 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003582/0.8366, allocations: 254.8 kB / 0.9634 GB, free: 172 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001101/0.8367, allocations: 177.3 kB / 0.9636 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.8367, allocations: 7.469 kB / 0.9636 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.311e-05/0.8368, allocations: 8.812 kB / 0.9636 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002378/0.837, allocations: 49.75 kB / 0.9637 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/0.837, allocations: 8.344 kB / 0.9637 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001431/0.8372, allocations: 19.86 kB / 0.9637 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.355e-05/0.8372, allocations: 11.97 kB / 0.9637 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.234e-06/0.8372, allocations: 4.156 kB / 0.9637 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003339/0.8376, allocations: 194.4 kB / 0.9639 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.8376, allocations: 3.875 kB / 0.9639 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.586e-06/0.8376, allocations: 4.719 kB / 0.9639 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001771/0.8378, allocations: 51.72 kB / 0.964 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/0.8378, allocations: 7.656 kB / 0.964 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.784e-05/0.8379, allocations: 14.42 kB / 0.964 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.893e-05/0.8379, allocations: 12.56 kB / 0.964 GB, free: 15.8 MB / 0.7325 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 () * Number of clocked 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 0.0001717/0.8381, allocations: 225.8 kB / 0.9642 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.067e-05/0.8382, allocations: 19.45 kB / 0.9642 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002951/0.8385, allocations: 146 kB / 0.9644 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.8385, allocations: 6.531 kB / 0.9644 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.862e-06/0.8385, allocations: 0 / 0.9644 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.8385, allocations: 5.406 kB / 0.9644 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009952/0.8395, allocations: 0.714 MB / 0.9651 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.8395, allocations: 2.25 kB / 0.9651 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001094/0.8396, allocations: 26.5 kB / 0.9651 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.652e-06/0.8397, allocations: 3.844 kB / 0.9651 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/0.8397, allocations: 7.281 kB / 0.9651 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/0.8397, allocations: 3.672 kB / 0.9651 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/0.8397, allocations: 7.562 kB / 0.9651 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000365/0.8401, allocations: 376.6 kB / 0.9655 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/0.8402, allocations: 112.7 kB / 0.9656 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.166e-05/0.8402, allocations: 7.469 kB / 0.9656 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001599/0.8404, allocations: 14.31 kB / 0.9656 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.633e-05/0.8404, allocations: 13.84 kB / 0.9656 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.8404, allocations: 4.594 kB / 0.9656 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000144/0.8406, allocations: 143.6 kB / 0.9658 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8406, allocations: 0 / 0.9658 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005149/0.8411, allocations: 72.27 kB / 0.9658 GB, free: 14.21 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (11): * Single equations (assignments): 11 * 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.0006123/0.8417, allocations: 0.9137 MB / 0.9667 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004871/0.8422, allocations: 270.6 kB / 0.967 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.8423, allocations: 0 / 0.967 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001043/0.8424, allocations: 56.78 kB / 0.967 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005002/0.8429, allocations: 32.78 kB / 0.9671 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001894/0.8448, allocations: 1.146 MB / 0.9682 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003963/0.8452, allocations: 0.734 MB / 0.9689 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002253/0.8454, allocations: 82.89 kB / 0.969 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.286e-05/0.8455, allocations: 44.55 kB / 0.969 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of SimCode: time 4.11e-07/0.8455, allocations: 0 / 0.969 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01485/0.8604, allocations: 3.311 MB / 0.9723 GB, free: 9.953 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001756/0.8606, allocations: 219.2 kB / 0.9725 GB, free: 9.715 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.814/2.674, allocations: 3.625 kB / 0.9725 GB, free: 9.715 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource_res.mat does not exist to compare? outputFormat=mat