Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,fileNamePrefix="IBPSA_latest_IBPSA_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.001089/0.001089, allocations: 102 kB / 15.98 MB, free: 6.348 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.001124/0.001124, allocations: 198.6 kB / 16.91 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.208/1.208, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6713/0.6713, allocations: 115.3 MB / 406.1 MB, free: 6.32 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001141/0.001141, allocations: 59.91 kB / 493.2 MB, free: 0.5898 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2773/0.2785, allocations: 76.17 MB / 0.556 GB, free: 36.31 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource): time 0.003385/0.2819, allocations: 2.665 MB / 0.5586 GB, free: 34.54 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002074/0.284, allocations: 1.564 MB / 0.5602 GB, free: 33.48 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.281e-05/0.2841, allocations: 2.656 kB / 0.5602 GB, free: 33.48 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006206/0.2848, allocations: 168.2 kB / 0.5603 GB, free: 33.38 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003244/0.2851, allocations: 138.4 kB / 0.5605 GB, free: 33.31 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003826/0.2855, allocations: 164.8 kB / 0.5606 GB, free: 33.24 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002336/0.2857, allocations: 219.3 kB / 0.5608 GB, free: 33.14 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002892/0.286, allocations: 133.8 kB / 0.561 GB, free: 33.1 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001286/0.2862, allocations: 94.39 kB / 0.561 GB, free: 33.06 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002027/0.2864, allocations: 101.9 kB / 0.5611 GB, free: 33.02 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.428e-05/0.2864, allocations: 11.91 kB / 0.5611 GB, free: 33.02 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003014/0.2867, allocations: 222.2 kB / 0.5614 GB, free: 32.95 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.127e-05/0.2868, allocations: 62.8 kB / 0.5614 GB, free: 32.92 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.446e-05/0.2869, allocations: 82.67 kB / 0.5615 GB, free: 32.87 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003645/0.2873, allocations: 309.3 kB / 0.5618 GB, free: 32.77 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.2873, allocations: 1.156 kB / 0.5618 GB, free: 32.77 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2873, allocations: 0 / 0.5618 GB, free: 32.77 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.349e-05/0.2873, allocations: 0 / 0.5618 GB, free: 32.77 MB / 446.1 MB 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.0005947/0.2879, allocations: 475.7 kB / 0.5623 GB, free: 32.34 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.2879, allocations: 12.45 kB / 0.5623 GB, free: 32.34 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.893e-05/0.288, allocations: 54.95 kB / 0.5623 GB, free: 32.29 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007327/0.2887, allocations: 87.83 kB / 0.5624 GB, free: 32.27 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000206/0.2889, allocations: 232.4 kB / 0.5626 GB, free: 32.04 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.289, allocations: 6.219 kB / 0.5626 GB, free: 32.04 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.733e-05/0.289, allocations: 15.67 kB / 0.5626 GB, free: 32.04 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004699/0.2895, allocations: 297.1 kB / 0.5629 GB, free: 31.86 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.2895, allocations: 0.5625 kB / 0.5629 GB, free: 31.86 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.601e-05/0.2895, allocations: 10.98 kB / 0.5629 GB, free: 31.86 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-05/0.2896, allocations: 20.81 kB / 0.563 GB, free: 31.85 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004121/0.29, allocations: 224.3 kB / 0.5632 GB, free: 31.78 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001542/0.2916, allocations: 1.595 MB / 0.5647 GB, free: 30.4 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003376/0.2919, allocations: 324.5 kB / 0.565 GB, free: 30.12 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.895e-05/0.292, allocations: 64.97 kB / 0.5651 GB, free: 30.09 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.461e-05/0.292, allocations: 2.906 kB / 0.5651 GB, free: 30.09 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.559e-05/0.2921, allocations: 35.66 kB / 0.5651 GB, free: 30.05 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.383e-06/0.2921, allocations: 0 / 0.5651 GB, free: 30.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005465/0.2926, allocations: 238.2 kB / 0.5654 GB, free: 29.94 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.959e-05/0.2927, allocations: 87.67 kB / 0.5654 GB, free: 29.84 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002217/0.2929, allocations: 201.2 kB / 0.5656 GB, free: 29.71 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.26e-05/0.2929, allocations: 27.58 kB / 0.5657 GB, free: 29.68 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.859e-05/0.293, allocations: 164.1 kB / 0.5658 GB, free: 29.53 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.549e-05/0.293, allocations: 40 kB / 0.5659 GB, free: 29.5 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.78e-05/0.2931, allocations: 50.78 kB / 0.5659 GB, free: 29.47 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.604e-05/0.2931, allocations: 323.3 kB / 0.5662 GB, free: 29.15 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001533/0.2933, allocations: 80.56 kB / 0.5663 GB, free: 29.12 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001803/0.2935, allocations: 154.7 kB / 0.5664 GB, free: 29 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002789/0.2938, allocations: 242.7 kB / 0.5667 GB, free: 28.82 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2938, allocations: 1.469 kB / 0.5667 GB, free: 28.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004543/0.2943, allocations: 271.9 kB / 0.5669 GB, free: 28.71 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.2943, allocations: 7.25 kB / 0.5669 GB, free: 28.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.2943, allocations: 4.422 kB / 0.5669 GB, free: 28.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.2943, allocations: 15.73 kB / 0.567 GB, free: 28.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002504/0.2946, allocations: 57.7 kB / 0.567 GB, free: 28.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/0.2946, allocations: 8.797 kB / 0.567 GB, free: 28.69 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002434/0.2948, allocations: 23.72 kB / 0.567 GB, free: 28.69 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.159e-05/0.2949, allocations: 9.969 kB / 0.5671 GB, free: 28.69 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001821/0.2951, allocations: 170.2 kB / 0.5672 GB, free: 28.58 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000154/0.2952, allocations: 153.5 kB / 0.5674 GB, free: 28.45 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002285/0.2955, allocations: 218.2 kB / 0.5676 GB, free: 28.28 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.134e-06/0.2955, allocations: 1.875 kB / 0.5676 GB, free: 28.28 MB / 446.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003924/0.2959, allocations: 248.3 kB / 0.5678 GB, free: 28.18 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.538e-06/0.2959, allocations: 8.672 kB / 0.5678 GB, free: 28.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.2959, allocations: 2.719 kB / 0.5678 GB, free: 28.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.399e-06/0.2959, allocations: 8.906 kB / 0.5678 GB, free: 28.17 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001935/0.2961, allocations: 59.72 kB / 0.5679 GB, free: 28.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.2961, allocations: 4.938 kB / 0.5679 GB, free: 28.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002186/0.2963, allocations: 23.36 kB / 0.5679 GB, free: 28.15 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.751e-05/0.2964, allocations: 11.58 kB / 0.5679 GB, free: 28.15 MB / 446.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.425e-05/0.2964, allocations: 188.4 kB / 0.5681 GB, free: 27.96 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.353e-05/0.2965, allocations: 16.59 kB / 0.5681 GB, free: 27.96 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002185/0.2967, allocations: 153.6 kB / 0.5683 GB, free: 27.88 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.2967, allocations: 2.469 kB / 0.5683 GB, free: 27.88 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.2967, allocations: 1.688 kB / 0.5683 GB, free: 27.88 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.2967, allocations: 0.6562 kB / 0.5683 GB, free: 27.88 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007991/0.2976, allocations: 0.7263 MB / 0.569 GB, free: 27.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.2976, allocations: 4.141 kB / 0.569 GB, free: 27.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001006/0.2977, allocations: 33.23 kB / 0.569 GB, free: 27.31 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.2977, allocations: 4.438 kB / 0.569 GB, free: 27.31 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.2977, allocations: 3.531 kB / 0.569 GB, free: 27.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.758e-06/0.2977, allocations: 4.141 kB / 0.569 GB, free: 27.31 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.2977, allocations: 3.469 kB / 0.569 GB, free: 27.31 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002312/0.298, allocations: 377.1 kB / 0.5694 GB, free: 26.99 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.306e-05/0.298, allocations: 110 kB / 0.5695 GB, free: 26.88 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.237e-05/0.2981, allocations: 7.359 kB / 0.5695 GB, free: 26.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002007/0.2983, allocations: 15.38 kB / 0.5695 GB, free: 26.88 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.935e-05/0.2983, allocations: 16.38 kB / 0.5695 GB, free: 26.87 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.205e-06/0.2983, allocations: 5.656 kB / 0.5695 GB, free: 26.87 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001461/0.2985, allocations: 159.2 kB / 0.5697 GB, free: 26.77 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2985, allocations: 3.375 kB / 0.5697 GB, free: 26.77 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004926/0.299, allocations: 70.03 kB / 0.5698 GB, free: 26.76 MB / 446.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003941/0.2994, allocations: 0.9106 MB / 0.5706 GB, free: 25.9 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004869/0.2999, allocations: 284.2 kB / 0.5709 GB, free: 25.82 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.2999, allocations: 1.125 kB / 0.5709 GB, free: 25.82 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.078e-05/0.3, allocations: 67.05 kB / 0.571 GB, free: 25.79 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004533/0.3004, allocations: 36.27 kB / 0.571 GB, free: 25.78 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002178/0.3026, allocations: 2.411 MB / 0.5734 GB, free: 23.79 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001688/0.3028, allocations: 0.7365 MB / 0.5741 GB, free: 23.09 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002314/0.303, allocations: 80.27 kB / 0.5742 GB, free: 23.08 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.971e-05/0.3031, allocations: 45.14 kB / 0.5742 GB, free: 23.05 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3031, allocations: 4 kB / 0.5742 GB, free: 23.05 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.897/2.2, allocations: 3.559 MB / 0.5777 GB, free: 22.74 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002065/2.2, allocations: 236.8 kB / 0.5779 GB, free: 22.48 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.976/4.176, allocations: 1.312 kB / 0.5779 GB, free: 22.48 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1)