Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",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.001013/0.001013, allocations: 102.9 kB / 15.98 MB, free: 6.344 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.0009709/0.0009709, allocations: 195.6 kB / 16.91 MB, free: 6.188 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.201/1.201, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6577/0.6577, allocations: 115.3 MB / 406.1 MB, free: 6.387 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 71.89 kB / 493.2 MB, free: 0.5703 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3179/0.3191, allocations: 76.16 MB / 0.556 GB, free: 36.32 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.004661/0.3238, allocations: 4.869 MB / 0.5608 GB, free: 32.96 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002983/0.3268, allocations: 2.43 MB / 0.5632 GB, free: 31.31 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002217/0.3271, allocations: 23.53 kB / 0.5632 GB, free: 31.3 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000897/0.328, allocations: 368 kB / 0.5635 GB, free: 31.08 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000696/0.3287, allocations: 409.8 kB / 0.5639 GB, free: 30.86 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006463/0.3294, allocations: 343 kB / 0.5642 GB, free: 30.69 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007425/0.3301, allocations: 0.9172 MB / 0.5651 GB, free: 30.26 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000527/0.3306, allocations: 397.9 kB / 0.5655 GB, free: 30.11 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003381/0.331, allocations: 337.9 kB / 0.5658 GB, free: 29.96 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00036/0.3314, allocations: 361.2 kB / 0.5662 GB, free: 29.81 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.708e-05/0.3314, allocations: 37.56 kB / 0.5662 GB, free: 29.81 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005504/0.332, allocations: 405.7 kB / 0.5666 GB, free: 29.67 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001565/0.3322, allocations: 181 kB / 0.5668 GB, free: 29.59 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002269/0.3324, allocations: 314.7 kB / 0.5671 GB, free: 29.41 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008564/0.3332, allocations: 0.9018 MB / 0.568 GB, free: 29.09 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3333, allocations: 2.062 kB / 0.568 GB, free: 29.09 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.3333, allocations: 4.562 kB / 0.568 GB, free: 29.09 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.777e-06/0.3333, allocations: 0.6562 kB / 0.568 GB, free: 29.09 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001108/0.3344, allocations: 0.9363 MB / 0.5689 GB, free: 28.39 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.3344, allocations: 11.03 kB / 0.5689 GB, free: 28.39 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.807e-05/0.3345, allocations: 93.52 kB / 0.569 GB, free: 28.32 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001137/0.3357, allocations: 204 kB / 0.5692 GB, free: 28.27 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005705/0.3363, allocations: 490.1 kB / 0.5696 GB, free: 27.93 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.469e-05/0.3363, allocations: 36.5 kB / 0.5697 GB, free: 27.91 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.914e-05/0.3364, allocations: 48.98 kB / 0.5697 GB, free: 27.89 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009555/0.3373, allocations: 0.8514 MB / 0.5706 GB, free: 27.31 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.205e-05/0.3374, allocations: 10.3 kB / 0.5706 GB, free: 27.31 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.588e-05/0.3374, allocations: 24.27 kB / 0.5706 GB, free: 27.29 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-05/0.3375, allocations: 66.62 kB / 0.5707 GB, free: 27.29 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007407/0.3383, allocations: 0.569 MB / 0.5712 GB, free: 27.07 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003109/0.3414, allocations: 5.648 MB / 0.5767 GB, free: 21.99 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005565/0.3419, allocations: 450.5 kB / 0.5772 GB, free: 21.83 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002728/0.3422, allocations: 227.4 kB / 0.5774 GB, free: 21.74 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.644e-05/0.3423, allocations: 4.125 kB / 0.5774 GB, free: 21.74 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.708e-05/0.3423, allocations: 36.73 kB / 0.5774 GB, free: 21.7 MB / 446.1 MB Notification: Performance of pre-optimization done (n=32): time 1.573e-06/0.3423, allocations: 0.5 kB / 0.5774 GB, free: 21.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=33): time 0.002139/0.3444, allocations: 1.512 MB / 0.5789 GB, free: 20.76 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.988e-05/0.3445, allocations: 56.66 kB / 0.5789 GB, free: 20.7 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004499/0.3449, allocations: 0.4893 MB / 0.5794 GB, free: 20.46 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.457e-05/0.3449, allocations: 30.27 kB / 0.5795 GB, free: 20.43 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001549/0.3451, allocations: 358.2 kB / 0.5798 GB, free: 20.14 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.307e-05/0.3452, allocations: 117.8 kB / 0.5799 GB, free: 20.05 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001237/0.3453, allocations: 110.3 kB / 0.58 GB, free: 19.98 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.005e-05/0.3454, allocations: 364.3 kB / 0.5804 GB, free: 19.65 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002665/0.3457, allocations: 200.2 kB / 0.5805 GB, free: 19.58 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003366/0.346, allocations: 447.6 kB / 0.581 GB, free: 19.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006156/0.3466, allocations: 0.6867 MB / 0.5816 GB, free: 18.67 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.3466, allocations: 6.406 kB / 0.5817 GB, free: 18.67 MB / 446.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001069/0.3477, allocations: 0.8131 MB / 0.5824 GB, free: 18.3 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.3477, allocations: 8.734 kB / 0.5825 GB, free: 18.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.3478, allocations: 8.312 kB / 0.5825 GB, free: 18.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000421/0.3482, allocations: 152.9 kB / 0.5826 GB, free: 18.24 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003913/0.3486, allocations: 121.8 kB / 0.5827 GB, free: 18.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002106/0.3507, allocations: 4.347 MB / 0.587 GB, free: 13.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003241/0.351, allocations: 36.72 kB / 0.587 GB, free: 13.94 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.562e-05/0.3511, allocations: 32.23 kB / 0.587 GB, free: 13.93 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001802/0.3513, allocations: 217.7 kB / 0.5872 GB, free: 13.76 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.306e-05/0.3513, allocations: 57.25 kB / 0.5873 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008854/0.3522, allocations: 0.6048 MB / 0.5879 GB, free: 13.45 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.3523, allocations: 3.844 kB / 0.5879 GB, free: 13.45 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.3523, allocations: 5.188 kB / 0.5879 GB, free: 13.45 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-06/0.3523, allocations: 2.969 kB / 0.5879 GB, free: 13.45 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001552/0.3538, allocations: 1.264 MB / 0.5891 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.3538, allocations: 1.375 kB / 0.5891 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002302/0.3541, allocations: 54.34 kB / 0.5892 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003473/0.3544, allocations: 140 kB / 0.5893 GB, free: 12.67 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.33e-05/0.3545, allocations: 15.56 kB / 0.5893 GB, free: 12.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002146/0.3566, allocations: 4.342 MB / 0.5936 GB, free: 8.367 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.3566, allocations: 2.281 kB / 0.5936 GB, free: 8.367 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008447/0.3575, allocations: 0.7107 MB / 0.5943 GB, free: 7.945 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001568/0.3576, allocations: 169.2 kB / 0.5944 GB, free: 7.805 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.231e-05/0.3577, allocations: 9.047 kB / 0.5944 GB, free: 7.801 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002341/0.358, allocations: 23.33 kB / 0.5945 GB, free: 7.797 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.263e-05/0.358, allocations: 35.45 kB / 0.5945 GB, free: 7.785 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.983e-05/0.358, allocations: 12.11 kB / 0.5945 GB, free: 7.781 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003126/0.3584, allocations: 329.5 kB / 0.5948 GB, free: 7.633 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3584, allocations: 4 kB / 0.5948 GB, free: 7.629 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005835/0.359, allocations: 143.3 kB / 0.595 GB, free: 7.613 MB / 446.1 MB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009814/0.3599, allocations: 1.252 MB / 0.5962 GB, free: 6.664 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00114/0.3611, allocations: 1.085 MB / 0.5972 GB, free: 5.93 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3611, allocations: 1.406 kB / 0.5972 GB, free: 5.93 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000589/0.3617, allocations: 0.7355 MB / 0.598 GB, free: 5.273 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008449/0.3626, allocations: 203 kB / 0.5982 GB, free: 5.176 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004873/0.3674, allocations: 5.389 MB / 0.6034 GB, free: 1.102 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002701/0.3677, allocations: 0.9034 MB / 0.6043 GB, free: 312 kB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002991/0.368, allocations: 125.9 kB / 0.6044 GB, free: 248 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001733/0.3682, allocations: 194.7 kB / 0.6046 GB, free: 84 kB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3682, allocations: 0 / 0.6046 GB, free: 84 kB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4295/0.7977, allocations: 12.51 MB / 0.6168 GB, free: 3.934 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002028/0.7979, allocations: 237.7 kB / 0.6171 GB, free: 3.676 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.194/2.992, allocations: 0 / 0.6171 GB, free: 3.676 MB / 462.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_TestImpedance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1)