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.001287/0.001287, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 222.9 MB / 239.2 MB, free: 4.578 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.001537/0.001537, allocations: 200.4 kB / 289.6 MB, free: 2.309 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5384/0.5384, allocations: 92.62 MB / 432.3 MB, free: 8.562 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002374/0.002375, allocations: 79.88 kB / 0.5028 GB, free: 6.797 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3252/0.3276, allocations: 71.39 MB / 0.5725 GB, free: 36.52 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.SourcesWithRealInputs.VoltageSourceReImInputVaryRealAndImag): time 0.005132/0.3328, allocations: 6.195 MB / 0.5786 GB, free: 32.74 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002878/0.3357, allocations: 1.806 MB / 0.5803 GB, free: 31.46 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000369/0.3361, allocations: 8.656 kB / 0.5803 GB, free: 31.46 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004551/0.3366, allocations: 240.5 kB / 0.5806 GB, free: 31.34 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001025/0.3376, allocations: 0.545 MB / 0.5811 GB, free: 30.96 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001323/0.3389, allocations: 0.7708 MB / 0.5819 GB, free: 30.55 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00116/0.3401, allocations: 1.377 MB / 0.5832 GB, free: 29.87 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003409/0.3404, allocations: 293.6 kB / 0.5835 GB, free: 29.75 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004343/0.3409, allocations: 0.5546 MB / 0.584 GB, free: 29.48 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005896/0.3415, allocations: 0.7181 MB / 0.5847 GB, free: 29.13 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001413/0.3416, allocations: 107.4 kB / 0.5848 GB, free: 29.13 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003553/0.342, allocations: 216.5 kB / 0.585 GB, free: 29.09 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000167/0.3422, allocations: 283.4 kB / 0.5853 GB, free: 28.91 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003465/0.3425, allocations: 0.6009 MB / 0.5859 GB, free: 28.51 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009643/0.3435, allocations: 1.453 MB / 0.5873 GB, free: 27.84 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3435, allocations: 3.344 kB / 0.5873 GB, free: 27.84 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3435, allocations: 0 / 0.5873 GB, free: 27.84 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.24e-05/0.3435, allocations: 2.375 kB / 0.5873 GB, free: 27.84 MB / 430.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.007894/0.3514, allocations: 2.543 MB / 0.5898 GB, free: 26.71 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.3515, allocations: 8.5 kB / 0.5898 GB, free: 26.71 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001317/0.3516, allocations: 122.6 kB / 0.5899 GB, free: 26.62 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004126/0.3558, allocations: 0.671 MB / 0.5906 GB, free: 26.49 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009592/0.3567, allocations: 0.7444 MB / 0.5913 GB, free: 25.95 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000295/0.357, allocations: 353.2 kB / 0.5916 GB, free: 25.62 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001381/0.3572, allocations: 70.66 kB / 0.5917 GB, free: 25.6 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002218/0.3594, allocations: 1.14 MB / 0.5928 GB, free: 25.18 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.848e-05/0.3594, allocations: 0 / 0.5928 GB, free: 25.18 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.993e-05/0.3595, allocations: 30.25 kB / 0.5928 GB, free: 25.15 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.537e-05/0.3596, allocations: 16.41 kB / 0.5929 GB, free: 25.15 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002312/0.3619, allocations: 1.099 MB / 0.5939 GB, free: 24.8 MB / 430.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.00548/0.3674, allocations: 3.385 MB / 0.5972 GB, free: 22.88 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007274/0.3747, allocations: 2.487 MB / 0.5997 GB, free: 21.88 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001652/0.3763, allocations: 0.778 MB / 0.6004 GB, free: 21.59 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001046/0.3765, allocations: 16.92 kB / 0.6004 GB, free: 21.58 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.861e-05/0.3765, allocations: 44.45 kB / 0.6005 GB, free: 21.53 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 2.224e-06/0.3765, allocations: 0 / 0.6005 GB, free: 21.53 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.0314/0.4079, allocations: 7.669 MB / 0.608 GB, free: 20.12 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.754e-05/0.408, allocations: 87.2 kB / 0.6081 GB, free: 20.03 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001151/0.4091, allocations: 0.8351 MB / 0.6089 GB, free: 19.67 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002035/0.4093, allocations: 45.25 kB / 0.6089 GB, free: 19.62 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002586/0.4096, allocations: 457.3 kB / 0.6094 GB, free: 19.26 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002876/0.4099, allocations: 314.2 kB / 0.6097 GB, free: 19.01 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003427/0.4102, allocations: 159.4 kB / 0.6098 GB, free: 18.93 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.573e-05/0.4103, allocations: 346.2 kB / 0.6101 GB, free: 18.61 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001628/0.412, allocations: 0.6737 MB / 0.6108 GB, free: 18.36 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0016/0.4136, allocations: 0.8177 MB / 0.6116 GB, free: 17.87 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003137/0.4167, allocations: 1.501 MB / 0.6131 GB, free: 17.04 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.436e-06/0.4167, allocations: 5.312 kB / 0.6131 GB, free: 17.03 MB / 430.1 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.01432/0.4311, allocations: 4.299 MB / 0.6173 GB, free: 14.93 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.538e-05/0.4311, allocations: 8.531 kB / 0.6173 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/0.4312, allocations: 8.375 kB / 0.6173 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006975/0.4381, allocations: 2.169 MB / 0.6194 GB, free: 13.16 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000691/0.4388, allocations: 135.8 kB / 0.6195 GB, free: 13.02 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02256/0.4614, allocations: 10.07 MB / 0.6294 GB, free: 2.801 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001469/0.4629, allocations: 167 kB / 0.6295 GB, free: 2.637 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.499e-05/0.463, allocations: 32 kB / 0.6296 GB, free: 2.605 MB / 430.1 MB 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.0003608/0.4634, allocations: 233.6 kB / 0.6298 GB, free: 2.367 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001867/0.4636, allocations: 110.7 kB / 0.6299 GB, free: 2.258 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01408/0.4776, allocations: 4.26 MB / 0.634 GB, free: 13.98 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-05/0.4777, allocations: 12 kB / 0.6341 GB, free: 13.96 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/0.4777, allocations: 3.938 kB / 0.6341 GB, free: 13.96 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.977e-05/0.4777, allocations: 7.922 kB / 0.6341 GB, free: 13.95 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.018/0.4957, allocations: 5.789 MB / 0.6397 GB, free: 8.043 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.729e-05/0.4958, allocations: 4 kB / 0.6397 GB, free: 8.039 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005808/0.4964, allocations: 107.8 kB / 0.6398 GB, free: 7.934 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007899/0.5043, allocations: 2.059 MB / 0.6418 GB, free: 5.867 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001853/0.5045, allocations: 16 kB / 0.6419 GB, free: 5.852 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02485/0.5294, allocations: 8.93 MB / 0.6506 GB, free: 12.77 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.684e-06/0.5294, allocations: 11.92 kB / 0.6506 GB, free: 12.76 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01787/0.5473, allocations: 5.236 MB / 0.6557 GB, free: 7.5 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004694/0.5478, allocations: 199.5 kB / 0.6559 GB, free: 7.285 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001937/0.548, allocations: 20 kB / 0.6559 GB, free: 7.266 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001198/0.5492, allocations: 111.9 kB / 0.656 GB, free: 7.156 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007808/0.55, allocations: 240.7 kB / 0.6562 GB, free: 6.922 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.461e-05/0.5501, allocations: 20 kB / 0.6563 GB, free: 6.902 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008282/0.5509, allocations: 0.5709 MB / 0.6568 GB, free: 6.32 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5509, allocations: 0 / 0.6568 GB, free: 6.32 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001352/0.5523, allocations: 427.5 kB / 0.6572 GB, free: 5.902 MB / 462.1 MB 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.01792/0.5702, allocations: 5.821 MB / 0.6629 GB, free: 40 kB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008584/0.5788, allocations: 2.595 MB / 0.6654 GB, free: 13.41 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.5788, allocations: 0 / 0.6654 GB, free: 13.41 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006087/0.5849, allocations: 1.783 MB / 0.6672 GB, free: 11.59 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009094/0.5859, allocations: 91.44 kB / 0.6673 GB, free: 11.5 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04212/0.628, allocations: 15.67 MB / 0.6826 GB, free: 11.43 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007271/0.6288, allocations: 1.057 MB / 0.6836 GB, free: 10.35 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003581/0.6291, allocations: 78.22 kB / 0.6837 GB, free: 10.27 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005324/0.6297, allocations: 415.3 kB / 0.6841 GB, free: 9.867 MB / 494.1 MB Notification: Performance of SimCode: time 6.82e-07/0.6297, allocations: 0 / 0.6841 GB, free: 9.867 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09873/0.7284, allocations: 35.56 MB / 0.7188 GB, free: 6.512 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.3/13.03, allocations: 448 / 0.7188 GB, free: 6.512 MB / 0.5137 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)