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.006106/0.006106, allocations: 96.56 kB / 15.73 MB, free: 6.043 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.374/1.374, allocations: 222.9 MB / 239.4 MB, free: 4.52 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.001667/0.001667, allocations: 184.5 kB / 289.7 MB, free: 2.234 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5172/0.5172, allocations: 91.96 MB / 431.8 MB, free: 9.094 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002183/0.002183, allocations: 82.61 kB / 0.5723 GB, free: 33.68 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1222, allocations: 71.31 MB / 0.642 GB, free: 4.008 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.VoltageSourceReImInputConstant): time 0.006894/0.1291, allocations: 6.064 MB / 0.6479 GB, free: 13.91 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00349/0.1327, allocations: 1.778 MB / 0.6496 GB, free: 12.13 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003864/0.1331, allocations: 12 kB / 0.6496 GB, free: 12.12 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005269/0.1336, allocations: 230.1 kB / 0.6499 GB, free: 11.89 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001226/0.1349, allocations: 0.5471 MB / 0.6504 GB, free: 11.34 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001606/0.1365, allocations: 0.7677 MB / 0.6511 GB, free: 10.58 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001544/0.138, allocations: 1.362 MB / 0.6525 GB, free: 9.211 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004161/0.1385, allocations: 291.5 kB / 0.6527 GB, free: 8.914 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006327/0.1391, allocations: 0.5407 MB / 0.6533 GB, free: 8.371 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008354/0.14, allocations: 0.7078 MB / 0.654 GB, free: 7.66 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001641/0.1401, allocations: 108 kB / 0.6541 GB, free: 7.555 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004321/0.1406, allocations: 208 kB / 0.6543 GB, free: 7.352 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002602/0.1409, allocations: 286.8 kB / 0.6545 GB, free: 7.07 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005321/0.1414, allocations: 0.5864 MB / 0.6551 GB, free: 6.48 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001655/0.1431, allocations: 1.459 MB / 0.6565 GB, free: 5.016 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.1431, allocations: 8 kB / 0.6565 GB, free: 5.008 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1431, allocations: 0 / 0.6565 GB, free: 5.008 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.303e-05/0.1431, allocations: 0 / 0.6565 GB, free: 5.008 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.008108/0.1512, allocations: 2.539 MB / 0.659 GB, free: 2.414 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/0.1513, allocations: 8.031 kB / 0.659 GB, free: 2.406 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001599/0.1515, allocations: 126.5 kB / 0.6591 GB, free: 2.273 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004174/0.1556, allocations: 0.6782 MB / 0.6598 GB, free: 1.594 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001222/0.1569, allocations: 0.7447 MB / 0.6605 GB, free: 0.793 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003895/0.1573, allocations: 341.3 kB / 0.6609 GB, free: 416 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001478/0.1574, allocations: 79.89 kB / 0.6609 GB, free: 336 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002322/0.1598, allocations: 1.11 MB / 0.662 GB, free: 15.2 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.91e-05/0.1598, allocations: 0 / 0.662 GB, free: 15.2 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.054e-05/0.1599, allocations: 28 kB / 0.6621 GB, free: 15.18 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.846e-05/0.1599, allocations: 16 kB / 0.6621 GB, free: 15.16 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002332/0.1623, allocations: 1.05 MB / 0.6631 GB, free: 14.11 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.006139/0.1684, allocations: 3.446 MB / 0.6665 GB, free: 10.51 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01234/0.1808, allocations: 3.095 MB / 0.6695 GB, free: 7.32 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001741/0.1825, allocations: 0.7068 MB / 0.6702 GB, free: 6.605 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001368/0.1827, allocations: 16.62 kB / 0.6702 GB, free: 6.59 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.904e-05/0.1827, allocations: 47.22 kB / 0.6702 GB, free: 6.535 MB / 478.1 MB Notification: Performance of pre-optimization done (n=83): time 3.257e-06/0.1828, allocations: 0 / 0.6702 GB, free: 6.535 MB / 478.1 MB Notification: Performance of matching and sorting (n=83): time 0.03207/0.2148, allocations: 7.714 MB / 0.6778 GB, free: 14.76 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.292e-05/0.215, allocations: 93.77 kB / 0.6779 GB, free: 14.65 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001309/0.2163, allocations: 0.8775 MB / 0.6787 GB, free: 13.75 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001805/0.2165, allocations: 41.7 kB / 0.6788 GB, free: 13.7 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003714/0.2168, allocations: 472.9 kB / 0.6792 GB, free: 13.23 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003213/0.2172, allocations: 309.3 kB / 0.6795 GB, free: 12.93 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003544/0.2175, allocations: 162.6 kB / 0.6797 GB, free: 12.77 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.2177, allocations: 341.9 kB / 0.68 GB, free: 12.43 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001561/0.2193, allocations: 0.6383 MB / 0.6806 GB, free: 11.79 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001667/0.2209, allocations: 0.7918 MB / 0.6814 GB, free: 10.93 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003214/0.2242, allocations: 1.445 MB / 0.6828 GB, free: 9.434 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/0.2242, allocations: 3.938 kB / 0.6828 GB, free: 9.43 MB / 494.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.01479/0.239, allocations: 4.228 MB / 0.6869 GB, free: 5.184 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.097e-05/0.239, allocations: 12.38 kB / 0.6869 GB, free: 5.172 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.2391, allocations: 8 kB / 0.6869 GB, free: 5.164 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007491/0.2466, allocations: 2.15 MB / 0.689 GB, free: 3.008 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000661/0.2472, allocations: 131.8 kB / 0.6892 GB, free: 2.879 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02654/0.2738, allocations: 10.08 MB / 0.699 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001468/0.2753, allocations: 167.3 kB / 0.6992 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.856e-05/0.2754, allocations: 35.98 kB / 0.6992 GB, free: 8.449 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.0004258/0.2758, allocations: 229.6 kB / 0.6994 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002173/0.2761, allocations: 115.2 kB / 0.6995 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0143/0.2904, allocations: 4.127 MB / 0.7036 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.517e-05/0.2904, allocations: 8 kB / 0.7036 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.2904, allocations: 0 / 0.7036 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.869e-05/0.2905, allocations: 3.984 kB / 0.7036 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01654/0.307, allocations: 5.554 MB / 0.709 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.356e-05/0.3071, allocations: 7.938 kB / 0.709 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004305/0.3075, allocations: 71.91 kB / 0.7091 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007461/0.315, allocations: 2.039 MB / 0.7111 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001876/0.3152, allocations: 19.94 kB / 0.7111 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02352/0.3387, allocations: 8.948 MB / 0.7198 GB, free: 3.027 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.3388, allocations: 4 kB / 0.7198 GB, free: 3.023 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01637/0.3551, allocations: 5.081 MB / 0.7248 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000355/0.3555, allocations: 200.2 kB / 0.725 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001548/0.3557, allocations: 12 kB / 0.725 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001051/0.3568, allocations: 103.9 kB / 0.7251 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007391/0.3575, allocations: 232.6 kB / 0.7253 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.121e-05/0.3576, allocations: 20 kB / 0.7253 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007909/0.3584, allocations: 0.5953 MB / 0.7259 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3584, allocations: 0 / 0.7259 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001215/0.3596, allocations: 427.7 kB / 0.7263 GB, free: 12.32 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.01668/0.3763, allocations: 5.652 MB / 0.7318 GB, free: 6.625 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007723/0.3841, allocations: 2.473 MB / 0.7343 GB, free: 4.117 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.918e-06/0.3841, allocations: 12.19 kB / 0.7343 GB, free: 4.105 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005771/0.3899, allocations: 1.724 MB / 0.736 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008727/0.3908, allocations: 88.23 kB / 0.736 GB, free: 2.266 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03965/0.4304, allocations: 15.15 MB / 0.7508 GB, free: 2.859 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006798/0.4312, allocations: 1.049 MB / 0.7519 GB, free: 1.785 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000315/0.4315, allocations: 78.31 kB / 0.7519 GB, free: 1.707 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005261/0.432, allocations: 411.3 kB / 0.7523 GB, free: 1.305 MB / 0.545 GB Notification: Performance of SimCode: time 6.71e-07/0.432, allocations: 0 / 0.7523 GB, free: 1.305 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3252/0.7572, allocations: 35.45 MB / 0.7869 GB, free: 115.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.32/17.08, allocations: 8.266 kB / 0.7869 GB, free: 115.9 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)