Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesWithRealInputs.VoltageSourceReImInputVaryRealAndImag.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.SourcesWithRealInputs.VoltageSourceReImInputVaryRealAndImag,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_SourcesWithRealInputs_VoltageSourceReImInputVaryRealAndImag",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Sources.SourcesWithRealInputs.VoltageSourceReImInputVaryRealAndImag,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_SourcesWithRealInputs_VoltageSourceReImInputVaryRealAndImag",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.007138/0.007138, allocations: 100.8 kB / 15.73 MB, free: 6.055 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.398/1.398, allocations: 222.9 MB / 239.4 MB, free: 4.531 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.001648/0.001649, allocations: 192.5 kB / 289.7 MB, free: 2.262 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5145/0.5145, allocations: 92.63 MB / 432.5 MB, free: 8.469 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002244/0.002244, allocations: 74.88 kB / 0.5732 GB, free: 33.56 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1236, allocations: 71.42 MB / 0.643 GB, free: 3.191 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.SourcesWithRealInputs.VoltageSourceReImInputVaryRealAndImag): time 0.006977/0.1306, allocations: 6.192 MB / 0.649 GB, free: 12.96 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003459/0.1341, allocations: 1.797 MB / 0.6508 GB, free: 11.16 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004191/0.1346, allocations: 8 kB / 0.6508 GB, free: 11.16 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005118/0.1351, allocations: 242 kB / 0.651 GB, free: 10.92 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001226/0.1363, allocations: 0.5432 MB / 0.6515 GB, free: 10.37 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00159/0.1379, allocations: 0.7666 MB / 0.6523 GB, free: 9.609 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001616/0.1396, allocations: 1.389 MB / 0.6536 GB, free: 8.219 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000429/0.14, allocations: 287.6 kB / 0.6539 GB, free: 7.926 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006557/0.1407, allocations: 0.5524 MB / 0.6545 GB, free: 7.371 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008491/0.1415, allocations: 0.7272 MB / 0.6552 GB, free: 6.641 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000179/0.1417, allocations: 104 kB / 0.6553 GB, free: 6.539 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004467/0.1422, allocations: 219.9 kB / 0.6555 GB, free: 6.324 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002612/0.1424, allocations: 282.9 kB / 0.6557 GB, free: 6.047 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005755/0.143, allocations: 0.5981 MB / 0.6563 GB, free: 5.445 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001625/0.1447, allocations: 1.486 MB / 0.6578 GB, free: 3.953 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.1447, allocations: 0 / 0.6578 GB, free: 3.953 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.356e-06/0.1447, allocations: 4 kB / 0.6578 GB, free: 3.949 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.807e-05/0.1447, allocations: 0 / 0.6578 GB, free: 3.949 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.008332/0.153, allocations: 2.57 MB / 0.6603 GB, free: 1.324 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.1531, allocations: 8.031 kB / 0.6603 GB, free: 1.316 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001594/0.1533, allocations: 122.5 kB / 0.6604 GB, free: 1.188 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00413/0.1574, allocations: 0.6821 MB / 0.6611 GB, free: 0.5039 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001167/0.1586, allocations: 0.7645 MB / 0.6618 GB, free: 15.68 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003926/0.159, allocations: 341.3 kB / 0.6622 GB, free: 15.3 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001382/0.1591, allocations: 71.94 kB / 0.6622 GB, free: 15.23 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002458/0.1616, allocations: 1.133 MB / 0.6633 GB, free: 14.08 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/0.1616, allocations: 0 / 0.6633 GB, free: 14.08 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.331e-05/0.1617, allocations: 28 kB / 0.6634 GB, free: 14.05 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.593e-05/0.1618, allocations: 16 kB / 0.6634 GB, free: 14.04 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002609/0.1644, allocations: 1.109 MB / 0.6645 GB, free: 12.93 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.006083/0.1705, allocations: 3.373 MB / 0.6677 GB, free: 9.402 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007748/0.1782, allocations: 2.487 MB / 0.6702 GB, free: 6.785 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001825/0.1801, allocations: 0.7714 MB / 0.6709 GB, free: 6.008 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001302/0.1802, allocations: 20.97 kB / 0.6709 GB, free: 5.988 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.284e-05/0.1803, allocations: 39.56 kB / 0.671 GB, free: 5.941 MB / 478.1 MB Notification: Performance of pre-optimization done (n=90): time 3.366e-06/0.1803, allocations: 4 kB / 0.671 GB, free: 5.938 MB / 478.1 MB Notification: Performance of matching and sorting (n=90): time 0.03145/0.2117, allocations: 7.682 MB / 0.6785 GB, free: 14.2 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.574e-05/0.2118, allocations: 90.11 kB / 0.6786 GB, free: 14.09 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001186/0.213, allocations: 0.8366 MB / 0.6794 GB, free: 13.23 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001616/0.2132, allocations: 41.7 kB / 0.6794 GB, free: 13.18 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003818/0.2136, allocations: 457.1 kB / 0.6799 GB, free: 12.73 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003708/0.214, allocations: 337 kB / 0.6802 GB, free: 12.4 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003582/0.2143, allocations: 158.6 kB / 0.6803 GB, free: 12.24 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.2145, allocations: 345.9 kB / 0.6807 GB, free: 11.89 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001707/0.2162, allocations: 0.6773 MB / 0.6813 GB, free: 11.21 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001825/0.2181, allocations: 0.808 MB / 0.6821 GB, free: 10.36 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003508/0.2216, allocations: 1.504 MB / 0.6836 GB, free: 8.809 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.748e-06/0.2216, allocations: 0 / 0.6836 GB, free: 8.809 MB / 494.1 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.01526/0.2369, allocations: 4.307 MB / 0.6878 GB, free: 4.488 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.666e-05/0.2369, allocations: 8 kB / 0.6878 GB, free: 4.48 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/0.237, allocations: 4 kB / 0.6878 GB, free: 4.477 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007753/0.2447, allocations: 2.165 MB / 0.6899 GB, free: 2.305 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000758/0.2455, allocations: 143.8 kB / 0.6901 GB, free: 2.164 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02721/0.2727, allocations: 10.07 MB / 0.6999 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001504/0.2743, allocations: 175.3 kB / 0.7001 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.899e-05/0.2744, allocations: 36 kB / 0.7001 GB, free: 7.734 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (80): * Single equations (assignments): 78 * 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.0004153/0.2748, allocations: 222.5 kB / 0.7003 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002146/0.275, allocations: 115.2 kB / 0.7004 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01506/0.2901, allocations: 4.267 MB / 0.7046 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-05/0.2901, allocations: 8 kB / 0.7046 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.2902, allocations: 0 / 0.7046 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.877e-05/0.2902, allocations: 3.984 kB / 0.7046 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01722/0.3074, allocations: 5.793 MB / 0.7103 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.134e-05/0.3075, allocations: 0 / 0.7103 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005423/0.308, allocations: 99.81 kB / 0.7104 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007484/0.3155, allocations: 2.047 MB / 0.7123 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001516/0.3157, allocations: 23.98 kB / 0.7124 GB, free: 11 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02371/0.3394, allocations: 8.937 MB / 0.7211 GB, free: 1.918 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.147e-06/0.3394, allocations: 3.938 kB / 0.7211 GB, free: 1.914 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01729/0.3567, allocations: 5.254 MB / 0.7262 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004027/0.3572, allocations: 212 kB / 0.7264 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001893/0.3574, allocations: 16 kB / 0.7265 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001183/0.3586, allocations: 115.9 kB / 0.7266 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007924/0.3594, allocations: 232.7 kB / 0.7268 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.552e-05/0.3595, allocations: 23.98 kB / 0.7268 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007801/0.3602, allocations: 0.5709 MB / 0.7274 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.91e-07/0.3603, allocations: 0 / 0.7274 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001284/0.3615, allocations: 423.7 kB / 0.7278 GB, free: 11.03 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 (53): * Single equations (assignments): 51 * 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.01762/0.3792, allocations: 5.836 MB / 0.7335 GB, free: 5.16 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008317/0.3875, allocations: 2.563 MB / 0.736 GB, free: 2.562 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.339e-06/0.3876, allocations: 0 / 0.736 GB, free: 2.562 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.006086/0.3937, allocations: 1.798 MB / 0.7377 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009208/0.3946, allocations: 92.22 kB / 0.7378 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04164/0.4363, allocations: 15.21 MB / 0.7527 GB, free: 1.18 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007202/0.437, allocations: 1.057 MB / 0.7537 GB, free: 100 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000349/0.4374, allocations: 74.23 kB / 0.7538 GB, free: 24 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005613/0.438, allocations: 403.4 kB / 0.7542 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of SimCode: time 8.92e-07/0.438, allocations: 0 / 0.7542 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.328/0.766, allocations: 35.95 MB / 0.7893 GB, free: 114.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.64/17.41, allocations: 9.062 kB / 0.7893 GB, free: 114.5 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesWithRealInputs.VoltageSourceReImInputVaryRealAndImag.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesWithRealInputs.VoltageSourceReImInputVaryRealAndImag.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesWithRealInputs.VoltageSourceReImInputVaryRealAndImag.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesWithRealInputs.VoltageSourceReImInputVaryRealAndImag.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesWithRealInputs.VoltageSourceReImInputVaryRealAndImag_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_SourcesWithRealInputs_VoltageSourceReImInputVaryRealAndImag.fmu > OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesWithRealInputs.VoltageSourceReImInputVaryRealAndImag.pipe 2>&1)