Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.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.VariablePowerSource,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Sources_Examples_VariablePowerSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Sources_Examples_VariablePowerSource",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.0009101/0.0009101, allocations: 98.73 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009697/0.0009699, allocations: 181.7 kB / 16.92 MB, free: 6.75 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.27/1.27, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6411/0.6411, allocations: 115.5 MB / 407.6 MB, free: 2.672 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003296/0.0003296, allocations: 8.906 kB / 496 MB, free: 6.25 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1408, allocations: 77.53 MB / 0.5601 GB, free: 8.934 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource): time 0.00387/0.1447, allocations: 3.211 MB / 0.5632 GB, free: 5.707 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002546/0.1473, allocations: 1.714 MB / 0.5649 GB, free: 3.984 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001482/0.1475, allocations: 7.938 kB / 0.5649 GB, free: 3.977 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000195/0.1477, allocations: 35.7 kB / 0.5649 GB, free: 3.941 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006153/0.1483, allocations: 183.2 kB / 0.5651 GB, free: 3.762 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007732/0.1491, allocations: 227.5 kB / 0.5653 GB, free: 3.539 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006344/0.1497, allocations: 0.4907 MB / 0.5658 GB, free: 3.047 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008684/0.1506, allocations: 418.5 kB / 0.5662 GB, free: 2.621 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002939/0.1509, allocations: 131.5 kB / 0.5663 GB, free: 2.492 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003806/0.1513, allocations: 171.3 kB / 0.5665 GB, free: 2.324 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.806e-05/0.1514, allocations: 12 kB / 0.5665 GB, free: 2.312 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004653/0.1518, allocations: 311.4 kB / 0.5668 GB, free: 2.008 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001032/0.152, allocations: 83.72 kB / 0.5668 GB, free: 1.926 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001457/0.1521, allocations: 157 kB / 0.567 GB, free: 1.766 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005286/0.1526, allocations: 466.7 kB / 0.5674 GB, free: 1.309 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1527, allocations: 0 / 0.5674 GB, free: 1.309 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1527, allocations: 0 / 0.5674 GB, free: 1.309 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.584e-06/0.1527, allocations: 0 / 0.5674 GB, free: 1.309 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001188/0.1539, allocations: 0.6097 MB / 0.568 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.1539, allocations: 8.031 kB / 0.568 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.315e-05/0.154, allocations: 58.73 kB / 0.5681 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007503/0.1548, allocations: 96.47 kB / 0.5682 GB, free: 488 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003236/0.1551, allocations: 275.8 kB / 0.5685 GB, free: 172 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.164e-05/0.1551, allocations: 16.81 kB / 0.5685 GB, free: 156 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.199e-05/0.1552, allocations: 20.38 kB / 0.5685 GB, free: 136 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007989/0.156, allocations: 434.7 kB / 0.5689 GB, free: 15.68 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.156, allocations: 0 / 0.5689 GB, free: 15.68 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.286e-05/0.1561, allocations: 8 kB / 0.5689 GB, free: 15.67 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.148e-05/0.1561, allocations: 24.36 kB / 0.5689 GB, free: 15.64 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009063/0.157, allocations: 416.7 kB / 0.5693 GB, free: 15.23 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001752/0.1588, allocations: 1.619 MB / 0.5709 GB, free: 13.49 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001144/0.16, allocations: 489.9 kB / 0.5714 GB, free: 12.99 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004317/0.1604, allocations: 205.6 kB / 0.5716 GB, free: 12.79 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001285/0.1605, allocations: 89.09 kB / 0.5717 GB, free: 12.68 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005466/0.1611, allocations: 279.3 kB / 0.5719 GB, free: 12.39 MB / 446.1 MB Notification: Performance of pre-optimization done (n=27): time 1.413e-06/0.1611, allocations: 0 / 0.5719 GB, free: 12.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=28): time 0.001857/0.163, allocations: 0.7884 MB / 0.5727 GB, free: 11.57 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.776e-05/0.163, allocations: 81.11 kB / 0.5728 GB, free: 11.47 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001984/0.1632, allocations: 225 kB / 0.573 GB, free: 11.25 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.088e-05/0.1633, allocations: 29.7 kB / 0.573 GB, free: 11.21 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.984e-05/0.1634, allocations: 172.2 kB / 0.5732 GB, free: 11.04 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.719e-05/0.1635, allocations: 94.75 kB / 0.5733 GB, free: 10.95 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.205e-05/0.1635, allocations: 29.7 kB / 0.5733 GB, free: 10.91 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.1637, allocations: 338.8 kB / 0.5736 GB, free: 10.57 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004243/0.1641, allocations: 180.2 kB / 0.5738 GB, free: 10.39 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000449/0.1646, allocations: 257.3 kB / 0.574 GB, free: 10.11 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008926/0.1655, allocations: 487.4 kB / 0.5745 GB, free: 9.602 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.1655, allocations: 0 / 0.5745 GB, free: 9.602 MB / 446.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001159/0.1666, allocations: 0.5651 MB / 0.5751 GB, free: 9.023 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001636/0.1668, allocations: 184.5 kB / 0.5752 GB, free: 8.805 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.1668, allocations: 4 kB / 0.5752 GB, free: 8.801 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001941/0.167, allocations: 44.75 kB / 0.5753 GB, free: 8.754 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003963/0.1674, allocations: 95.86 kB / 0.5754 GB, free: 8.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001271/0.1687, allocations: 1.489 MB / 0.5768 GB, free: 7.035 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003226/0.169, allocations: 55.73 kB / 0.5769 GB, free: 6.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.382e-05/0.1691, allocations: 19.98 kB / 0.5769 GB, free: 6.961 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.493e-06/0.1691, allocations: 4 kB / 0.5769 GB, free: 6.957 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001091/0.1702, allocations: 0.4982 MB / 0.5774 GB, free: 6.449 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.1702, allocations: 0 / 0.5774 GB, free: 6.449 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001241/0.1703, allocations: 48.89 kB / 0.5774 GB, free: 6.398 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003571/0.1707, allocations: 96 kB / 0.5775 GB, free: 6.305 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001156/0.1719, allocations: 1.477 MB / 0.579 GB, free: 4.688 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002932/0.1722, allocations: 55.95 kB / 0.579 GB, free: 4.633 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.597e-05/0.1722, allocations: 12 kB / 0.579 GB, free: 4.621 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 (load.count,$PRE.load.count,load.T_start,$PRE.load.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001938/0.1724, allocations: 242.1 kB / 0.5793 GB, free: 4.375 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.278e-05/0.1725, allocations: 27.78 kB / 0.5793 GB, free: 4.348 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001054/0.1735, allocations: 490.1 kB / 0.5798 GB, free: 3.859 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.1735, allocations: 4 kB / 0.5798 GB, free: 3.855 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.1736, allocations: 4 kB / 0.5798 GB, free: 3.852 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.1736, allocations: 4 kB / 0.5798 GB, free: 3.848 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006044/0.1742, allocations: 0.57 MB / 0.5803 GB, free: 3.215 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.1742, allocations: 0 / 0.5803 GB, free: 3.215 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003752/0.1746, allocations: 83.95 kB / 0.5804 GB, free: 3.133 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001165/0.1747, allocations: 36.83 kB / 0.5804 GB, free: 3.094 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.309e-05/0.1747, allocations: 4 kB / 0.5804 GB, free: 3.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001056/0.1758, allocations: 1.424 MB / 0.5818 GB, free: 1.531 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.1758, allocations: 0 / 0.5818 GB, free: 1.531 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009986/0.1768, allocations: 0.5615 MB / 0.5824 GB, free: 0.9414 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001252/0.1769, allocations: 136.6 kB / 0.5825 GB, free: 0.7891 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.938e-05/0.177, allocations: 8 kB / 0.5825 GB, free: 0.7812 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000309/0.1773, allocations: 43.94 kB / 0.5826 GB, free: 0.7383 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.886e-05/0.1774, allocations: 27.97 kB / 0.5826 GB, free: 0.7109 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-05/0.1774, allocations: 19.92 kB / 0.5826 GB, free: 0.6914 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001413/0.1776, allocations: 172.4 kB / 0.5828 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.372e-06/0.1776, allocations: 0 / 0.5828 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005421/0.1781, allocations: 131.9 kB / 0.5829 GB, free: 404 kB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,load.T_start,load.count) * Number of discrete states: 1 (load.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.2405/0.4186, allocations: 1.104 MB / 0.584 GB, free: 29.88 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001886/0.4206, allocations: 1.018 MB / 0.585 GB, free: 29.54 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.4206, allocations: 0 / 0.585 GB, free: 29.54 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006068/0.4212, allocations: 339.6 kB / 0.5853 GB, free: 29.43 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004902/0.4217, allocations: 56.47 kB / 0.5854 GB, free: 29.43 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004681/0.4264, allocations: 3.503 MB / 0.5888 GB, free: 27.77 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002236/0.4266, allocations: 0.7881 MB / 0.5895 GB, free: 27.07 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000305/0.4269, allocations: 94.33 kB / 0.5896 GB, free: 27.06 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001526/0.4271, allocations: 87.27 kB / 0.5897 GB, free: 27.05 MB / 446.1 MB Notification: Performance of SimCode: time 5.81e-07/0.4271, allocations: 0 / 0.5897 GB, free: 27.05 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0199/0.447, allocations: 6.578 MB / 0.5961 GB, free: 26.73 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001388/0.4472, allocations: 267.7 kB / 0.5964 GB, free: 26.46 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.811/2.258, allocations: 0 / 0.5964 GB, free: 26.46 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Sources_Examples_VariablePowerSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Sources_Examples_VariablePowerSource.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe 2>&1)