Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputConstant.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/Modelica 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/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(OpenIPSL.Tests.Sources.VoltageSourceReImInputConstant,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_VoltageSourceReImInputConstant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Sources.VoltageSourceReImInputConstant,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_VoltageSourceReImInputConstant",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.007958/0.007958, allocations: 100.6 kB / 15.73 MB, free: 6.02 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.29/1.29, allocations: 222.9 MB / 239.4 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 184.5 kB / 289.7 MB, free: 2.246 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4894/0.4894, allocations: 91.91 MB / 431.8 MB, free: 9.152 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 84.19 kB / 0.5722 GB, free: 33.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1155, allocations: 71.28 MB / 0.6419 GB, free: 4.199 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.VoltageSourceReImInputConstant): time 0.006133/0.1216, allocations: 6.07 MB / 0.6478 GB, free: 14.1 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003165/0.1248, allocations: 1.782 MB / 0.6495 GB, free: 12.31 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003818/0.1253, allocations: 8 kB / 0.6495 GB, free: 12.3 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004696/0.1257, allocations: 226.1 kB / 0.6497 GB, free: 12.08 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001175/0.1269, allocations: 0.6018 MB / 0.6503 GB, free: 11.48 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001558/0.1285, allocations: 0.7713 MB / 0.6511 GB, free: 10.71 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001358/0.1299, allocations: 1.358 MB / 0.6524 GB, free: 9.348 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003984/0.1303, allocations: 291.6 kB / 0.6527 GB, free: 9.051 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005236/0.1308, allocations: 0.5406 MB / 0.6532 GB, free: 8.508 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006744/0.1315, allocations: 0.704 MB / 0.6539 GB, free: 7.801 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001438/0.1316, allocations: 108 kB / 0.654 GB, free: 7.695 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003452/0.132, allocations: 211.9 kB / 0.6542 GB, free: 7.488 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002094/0.1322, allocations: 282.8 kB / 0.6545 GB, free: 7.211 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004613/0.1327, allocations: 0.5826 MB / 0.655 GB, free: 6.625 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001379/0.1341, allocations: 1.47 MB / 0.6565 GB, free: 5.148 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1341, allocations: 4 kB / 0.6565 GB, free: 5.145 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1341, allocations: 4 kB / 0.6565 GB, free: 5.141 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.972e-05/0.1341, allocations: 0 / 0.6565 GB, free: 5.141 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.008015/0.1421, allocations: 2.539 MB / 0.659 GB, free: 2.547 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.1422, allocations: 8.031 kB / 0.659 GB, free: 2.539 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001472/0.1423, allocations: 118.5 kB / 0.6591 GB, free: 2.414 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004221/0.1466, allocations: 0.6821 MB / 0.6598 GB, free: 1.73 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001147/0.1477, allocations: 0.737 MB / 0.6605 GB, free: 0.9375 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003559/0.1481, allocations: 349.3 kB / 0.6608 GB, free: 0.543 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001513/0.1483, allocations: 79.89 kB / 0.6609 GB, free: 476 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002281/0.1506, allocations: 1.11 MB / 0.662 GB, free: 15.34 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/0.1506, allocations: 0 / 0.662 GB, free: 15.34 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.188e-05/0.1507, allocations: 28 kB / 0.662 GB, free: 15.31 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.884e-05/0.1507, allocations: 16 kB / 0.662 GB, free: 15.3 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002227/0.1529, allocations: 1.046 MB / 0.663 GB, free: 14.25 MB / 478.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006111/0.1591, allocations: 3.453 MB / 0.6664 GB, free: 10.64 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0119/0.171, allocations: 3.087 MB / 0.6694 GB, free: 7.461 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001547/0.1726, allocations: 0.7107 MB / 0.6701 GB, free: 6.742 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001022/0.1727, allocations: 16.64 kB / 0.6701 GB, free: 6.727 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/0.1727, allocations: 43.16 kB / 0.6702 GB, free: 6.676 MB / 478.1 MB Notification: Performance of pre-optimization done (n=83): time 2.555e-06/0.1727, allocations: 0 / 0.6702 GB, free: 6.676 MB / 478.1 MB Notification: Performance of matching and sorting (n=83): time 0.03174/0.2045, allocations: 7.718 MB / 0.6777 GB, free: 14.89 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.141e-05/0.2046, allocations: 85.77 kB / 0.6778 GB, free: 14.79 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001243/0.2059, allocations: 0.8813 MB / 0.6787 GB, free: 13.89 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001982/0.2061, allocations: 41.7 kB / 0.6787 GB, free: 13.84 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003309/0.2064, allocations: 480.8 kB / 0.6792 GB, free: 13.37 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003446/0.2068, allocations: 309.3 kB / 0.6794 GB, free: 13.06 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003351/0.2071, allocations: 162.6 kB / 0.6796 GB, free: 12.9 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.2072, allocations: 345.9 kB / 0.6799 GB, free: 12.55 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001481/0.2087, allocations: 0.6305 MB / 0.6805 GB, free: 11.93 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001552/0.2103, allocations: 0.7919 MB / 0.6813 GB, free: 11.07 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003036/0.2133, allocations: 1.441 MB / 0.6827 GB, free: 9.574 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-06/0.2133, allocations: 4 kB / 0.6827 GB, free: 9.57 MB / 494.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.0145/0.2278, allocations: 4.232 MB / 0.6869 GB, free: 5.32 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.986e-05/0.2279, allocations: 11.94 kB / 0.6869 GB, free: 5.309 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.661e-05/0.2279, allocations: 4 kB / 0.6869 GB, free: 5.305 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007503/0.2354, allocations: 2.158 MB / 0.689 GB, free: 3.141 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006845/0.2362, allocations: 123.8 kB / 0.6891 GB, free: 3.02 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02564/0.2618, allocations: 10.09 MB / 0.699 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001455/0.2633, allocations: 163.3 kB / 0.6991 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-05/0.2634, allocations: 35.98 kB / 0.6991 GB, free: 8.586 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (78): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(24,15)} Notification: Performance of prepare postOptimizeDAE: time 0.0004068/0.2638, allocations: 225.7 kB / 0.6994 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002164/0.264, allocations: 115.2 kB / 0.6995 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01397/0.278, allocations: 4.123 MB / 0.7035 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.668e-05/0.2781, allocations: 15.94 kB / 0.7035 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.2781, allocations: 0 / 0.7035 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.761e-05/0.2781, allocations: 3.984 kB / 0.7035 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01592/0.294, allocations: 5.558 MB / 0.7089 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-05/0.2941, allocations: 4 kB / 0.709 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004296/0.2945, allocations: 67.91 kB / 0.709 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007068/0.3016, allocations: 2.047 MB / 0.711 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000137/0.3018, allocations: 20 kB / 0.711 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02283/0.3246, allocations: 8.937 MB / 0.7198 GB, free: 3.172 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.623e-06/0.3247, allocations: 8 kB / 0.7198 GB, free: 3.164 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01636/0.341, allocations: 5.081 MB / 0.7247 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003817/0.3415, allocations: 204.2 kB / 0.7249 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001917/0.3417, allocations: 20 kB / 0.7249 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001114/0.3428, allocations: 99.88 kB / 0.725 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006986/0.3435, allocations: 232.6 kB / 0.7253 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.78e-05/0.3436, allocations: 24 kB / 0.7253 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007519/0.3443, allocations: 0.5953 MB / 0.7259 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3443, allocations: 0 / 0.7259 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001256/0.3456, allocations: 419.7 kB / 0.7263 GB, free: 12.46 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (gENCLS.delta,gENCLS.eq,gENCLS.omega) * 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 (46): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(24,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01635/0.362, allocations: 5.652 MB / 0.7318 GB, free: 6.762 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007514/0.3695, allocations: 2.473 MB / 0.7342 GB, free: 4.254 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.214e-06/0.3696, allocations: 11.94 kB / 0.7342 GB, free: 4.242 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005651/0.3752, allocations: 1.724 MB / 0.7359 GB, free: 2.488 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009215/0.3762, allocations: 85.48 kB / 0.736 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03889/0.4151, allocations: 15.16 MB / 0.7508 GB, free: 2.992 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005767/0.4157, allocations: 1.045 MB / 0.7518 GB, free: 1.922 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003375/0.416, allocations: 86.3 kB / 0.7519 GB, free: 1.836 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004908/0.4165, allocations: 407.3 kB / 0.7523 GB, free: 1.438 MB / 0.545 GB Notification: Performance of SimCode: time 1.012e-06/0.4165, allocations: 0 / 0.7523 GB, free: 1.438 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3146/0.7311, allocations: 35.44 MB / 0.7869 GB, free: 116.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.97/16.7, allocations: 7.062 kB / 0.7869 GB, free: 116.1 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputConstant.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputConstant.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputConstant.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputConstant.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputConstant_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 OpenIPSL_dev_OpenIPSL_Tests_Sources_VoltageSourceReImInputConstant.fmu > OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputConstant.pipe 2>&1)