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.001148/0.001148, allocations: 101.2 kB / 16.27 MB, free: 5.969 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.001071/0.001071, allocations: 194.2 kB / 17.2 MB, free: 5.598 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.258/1.258, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7224/0.7224, allocations: 122.9 MB / 413.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 63.91 kB / 0.4912 GB, free: 7.355 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3307/0.332, allocations: 77.92 MB / 0.5673 GB, free: 32.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.005615/0.3377, allocations: 4.84 MB / 0.572 GB, free: 29.35 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003968/0.3417, allocations: 2.445 MB / 0.5744 GB, free: 27.69 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004155/0.3421, allocations: 23.72 kB / 0.5744 GB, free: 27.68 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001211/0.3433, allocations: 400.5 kB / 0.5748 GB, free: 27.43 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001175/0.3445, allocations: 445 kB / 0.5752 GB, free: 27.19 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001015/0.3455, allocations: 370.2 kB / 0.5756 GB, free: 27.02 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000832/0.3464, allocations: 0.9167 MB / 0.5765 GB, free: 26.59 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004899/0.3469, allocations: 365.3 kB / 0.5768 GB, free: 26.45 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003506/0.3472, allocations: 331.6 kB / 0.5771 GB, free: 26.31 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000407/0.3477, allocations: 344.7 kB / 0.5775 GB, free: 26.16 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.883e-05/0.3477, allocations: 37.97 kB / 0.5775 GB, free: 26.16 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008042/0.3485, allocations: 406 kB / 0.5779 GB, free: 26.02 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001886/0.3487, allocations: 177.5 kB / 0.5781 GB, free: 25.95 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002713/0.349, allocations: 321.8 kB / 0.5784 GB, free: 25.75 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000921/0.35, allocations: 0.8649 MB / 0.5792 GB, free: 25.45 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.35, allocations: 5.609 kB / 0.5792 GB, free: 25.45 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.35, allocations: 0 / 0.5792 GB, free: 25.45 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.277e-06/0.35, allocations: 1.375 kB / 0.5792 GB, free: 25.45 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.001085/0.3511, allocations: 0.9397 MB / 0.5801 GB, free: 24.72 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.3511, allocations: 10.22 kB / 0.5802 GB, free: 24.72 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.044e-05/0.3512, allocations: 94.47 kB / 0.5802 GB, free: 24.64 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00127/0.3525, allocations: 201.4 kB / 0.5804 GB, free: 24.54 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006091/0.3531, allocations: 497.3 kB / 0.5809 GB, free: 24.12 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.01e-05/0.3532, allocations: 35.98 kB / 0.5809 GB, free: 24.11 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.364e-05/0.3532, allocations: 45.58 kB / 0.581 GB, free: 24.09 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008506/0.3541, allocations: 0.8488 MB / 0.5818 GB, free: 23.41 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.152e-05/0.3541, allocations: 7.688 kB / 0.5818 GB, free: 23.41 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.798e-05/0.3542, allocations: 24.86 kB / 0.5818 GB, free: 23.39 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.341e-05/0.3543, allocations: 66.42 kB / 0.5819 GB, free: 23.37 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007092/0.355, allocations: 0.5647 MB / 0.5825 GB, free: 23.09 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002806/0.3578, allocations: 5.653 MB / 0.588 GB, free: 17.67 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005367/0.3584, allocations: 459.8 kB / 0.5884 GB, free: 17.44 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002548/0.3586, allocations: 228.1 kB / 0.5886 GB, free: 17.32 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.491e-05/0.3587, allocations: 2.5 kB / 0.5886 GB, free: 17.32 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.947e-05/0.3587, allocations: 43.77 kB / 0.5887 GB, free: 17.28 MB / 446.1 MB Notification: Performance of pre-optimization done (n=32): time 1.803e-06/0.3587, allocations: 0 / 0.5887 GB, free: 17.28 MB / 446.1 MB Notification: Performance of matching and sorting (n=33): time 0.002126/0.3608, allocations: 1.5 MB / 0.5901 GB, free: 16.18 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.15e-05/0.3608, allocations: 56.78 kB / 0.5902 GB, free: 16.12 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004035/0.3613, allocations: 0.4913 MB / 0.5907 GB, free: 15.81 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.038e-05/0.3613, allocations: 35.08 kB / 0.5907 GB, free: 15.77 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001368/0.3614, allocations: 359.2 kB / 0.5911 GB, free: 15.46 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.04e-05/0.3615, allocations: 117.9 kB / 0.5912 GB, free: 15.36 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001235/0.3616, allocations: 111.6 kB / 0.5913 GB, free: 15.28 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.379e-05/0.3617, allocations: 364 kB / 0.5916 GB, free: 14.93 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002463/0.3619, allocations: 201.9 kB / 0.5918 GB, free: 14.83 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003156/0.3623, allocations: 446.1 kB / 0.5922 GB, free: 14.4 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000611/0.3629, allocations: 0.6932 MB / 0.5929 GB, free: 13.83 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.3629, allocations: 2.906 kB / 0.5929 GB, free: 13.83 MB / 446.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001087/0.364, allocations: 0.8076 MB / 0.5937 GB, free: 13.38 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.364, allocations: 12.8 kB / 0.5937 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.364, allocations: 7.938 kB / 0.5937 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004315/0.3645, allocations: 153.9 kB / 0.5939 GB, free: 13.28 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004155/0.3649, allocations: 127.1 kB / 0.594 GB, free: 13.24 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002259/0.3672, allocations: 4.338 MB / 0.5982 GB, free: 8.832 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000349/0.3675, allocations: 34.84 kB / 0.5983 GB, free: 8.816 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.463e-05/0.3676, allocations: 29.94 kB / 0.5983 GB, free: 8.809 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.0002018/0.3678, allocations: 218.6 kB / 0.5985 GB, free: 8.625 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.022e-05/0.3679, allocations: 60.75 kB / 0.5986 GB, free: 8.594 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008807/0.3688, allocations: 0.6023 MB / 0.5992 GB, free: 8.215 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.3688, allocations: 3.562 kB / 0.5992 GB, free: 8.215 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.3688, allocations: 5.422 kB / 0.5992 GB, free: 8.211 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.247e-06/0.3688, allocations: 1.438 kB / 0.5992 GB, free: 8.211 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001476/0.3703, allocations: 1.256 MB / 0.6004 GB, free: 7.293 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.3703, allocations: 2.594 kB / 0.6004 GB, free: 7.293 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002391/0.3705, allocations: 53.89 kB / 0.6004 GB, free: 7.277 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003382/0.3709, allocations: 147.7 kB / 0.6006 GB, free: 7.137 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.212e-05/0.3709, allocations: 11.94 kB / 0.6006 GB, free: 7.125 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001972/0.3729, allocations: 4.34 MB / 0.6048 GB, free: 2.359 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.3729, allocations: 0 / 0.6048 GB, free: 2.359 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007261/0.3736, allocations: 0.7116 MB / 0.6055 GB, free: 1.594 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001446/0.3738, allocations: 168.4 kB / 0.6057 GB, free: 1.41 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.049e-05/0.3739, allocations: 11.98 kB / 0.6057 GB, free: 1.398 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002424/0.3741, allocations: 23.97 kB / 0.6057 GB, free: 1.375 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.815e-05/0.3742, allocations: 31.84 kB / 0.6058 GB, free: 1.344 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-05/0.3742, allocations: 12 kB / 0.6058 GB, free: 1.332 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002506/0.3744, allocations: 334.8 kB / 0.6061 GB, free: 1.008 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3744, allocations: 0 / 0.6061 GB, free: 1.008 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005831/0.375, allocations: 144 kB / 0.6062 GB, free: 0.8672 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.001012/0.3761, allocations: 1.258 MB / 0.6074 GB, free: 15.54 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001385/0.3775, allocations: 1.087 MB / 0.6085 GB, free: 14.37 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3775, allocations: 3.938 kB / 0.6085 GB, free: 14.37 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007582/0.3782, allocations: 0.7348 MB / 0.6092 GB, free: 13.55 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009434/0.3792, allocations: 204.5 kB / 0.6094 GB, free: 13.36 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005473/0.3847, allocations: 5.181 MB / 0.6145 GB, free: 7.793 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003993/0.3851, allocations: 0.9059 MB / 0.6154 GB, free: 6.855 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003332/0.3854, allocations: 117.3 kB / 0.6155 GB, free: 6.738 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000213/0.3856, allocations: 191.4 kB / 0.6157 GB, free: 6.555 MB / 462.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3857, allocations: 4 kB / 0.6157 GB, free: 6.551 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03306/0.4187, allocations: 12.52 MB / 0.6279 GB, free: 10.3 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.822/9.241, allocations: 19.5 kB / 0.6279 GB, free: 10.29 MB / 478.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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1)