Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSource.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.SourcesBehindImpedance.VSource,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_SourcesBehindImpedance_VSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSource,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_SourcesBehindImpedance_VSource",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.00756/0.00756, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.405/1.405, allocations: 222.9 MB / 239.4 MB, free: 4.551 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.001507/0.001507, 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.5386/0.5386, allocations: 92.62 MB / 432.5 MB, free: 8.551 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002242/0.002242, allocations: 82.95 kB / 0.5732 GB, free: 33.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1373, allocations: 71.42 MB / 0.6429 GB, free: 3.133 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSource): time 0.007415/0.1447, allocations: 6.318 MB / 0.6491 GB, free: 12.78 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003851/0.1486, allocations: 1.837 MB / 0.6509 GB, free: 10.94 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000647/0.1493, allocations: 8 kB / 0.6509 GB, free: 10.93 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006491/0.15, allocations: 238 kB / 0.6511 GB, free: 10.7 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001672/0.1517, allocations: 0.5937 MB / 0.6517 GB, free: 10.1 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001783/0.1535, allocations: 0.761 MB / 0.6525 GB, free: 9.348 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002062/0.1556, allocations: 1.451 MB / 0.6539 GB, free: 7.891 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005029/0.1561, allocations: 295.6 kB / 0.6542 GB, free: 7.59 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008602/0.1569, allocations: 0.5757 MB / 0.6547 GB, free: 7.012 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009795/0.1579, allocations: 0.7546 MB / 0.6555 GB, free: 6.254 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002259/0.1582, allocations: 116 kB / 0.6556 GB, free: 6.141 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000509/0.1587, allocations: 223.9 kB / 0.6558 GB, free: 5.922 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000277/0.159, allocations: 302.8 kB / 0.6561 GB, free: 5.625 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007/0.1597, allocations: 0.6253 MB / 0.6567 GB, free: 4.996 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002447/0.1622, allocations: 1.54 MB / 0.6582 GB, free: 3.449 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.1622, allocations: 0 / 0.6582 GB, free: 3.449 MB / 462.1 MB Notification: Performance of FrontEnd: time 5.059e-06/0.1622, allocations: 0 / 0.6582 GB, free: 3.449 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.441e-05/0.1622, allocations: 3.938 kB / 0.6582 GB, free: 3.445 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: 180 * Number of variables: 180 Notification: Performance of Generate backend data structure: time 0.008857/0.1711, allocations: 2.613 MB / 0.6608 GB, free: 0.7773 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/0.1712, allocations: 12.03 kB / 0.6608 GB, free: 0.7656 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001636/0.1713, allocations: 122.5 kB / 0.6609 GB, free: 0.6367 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0043/0.1756, allocations: 0.6861 MB / 0.6616 GB, free: 15.95 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001527/0.1772, allocations: 0.796 MB / 0.6623 GB, free: 15.1 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004165/0.1776, allocations: 349.3 kB / 0.6627 GB, free: 14.7 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001736/0.1778, allocations: 75.95 kB / 0.6627 GB, free: 14.63 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002508/0.1803, allocations: 1.148 MB / 0.6639 GB, free: 13.45 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.915e-05/0.1804, allocations: 4 kB / 0.6639 GB, free: 13.45 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-05/0.1805, allocations: 32 kB / 0.6639 GB, free: 13.42 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.045e-05/0.1805, allocations: 16 kB / 0.6639 GB, free: 13.4 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002469/0.183, allocations: 1.07 MB / 0.6649 GB, free: 12.33 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.007066/0.1901, allocations: 3.879 MB / 0.6687 GB, free: 8.262 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007699/0.1978, allocations: 2.488 MB / 0.6712 GB, free: 5.645 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001851/0.1997, allocations: 0.7548 MB / 0.6719 GB, free: 4.883 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001237/0.1998, allocations: 13 kB / 0.6719 GB, free: 4.871 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.646e-05/0.1999, allocations: 47.55 kB / 0.672 GB, free: 4.816 MB / 478.1 MB Notification: Performance of pre-optimization done (n=90): time 3.135e-06/0.1999, allocations: 0 / 0.672 GB, free: 4.816 MB / 478.1 MB Notification: Performance of matching and sorting (n=90): time 0.03645/0.2363, allocations: 8.423 MB / 0.6802 GB, free: 12.36 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.618e-05/0.2365, allocations: 86.11 kB / 0.6803 GB, free: 12.25 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001406/0.2379, allocations: 0.9133 MB / 0.6812 GB, free: 11.32 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002648/0.2381, allocations: 41.7 kB / 0.6812 GB, free: 11.27 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003998/0.2386, allocations: 481 kB / 0.6817 GB, free: 10.8 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004337/0.239, allocations: 337.1 kB / 0.682 GB, free: 10.46 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003673/0.2394, allocations: 158.6 kB / 0.6821 GB, free: 10.3 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.2395, allocations: 341.9 kB / 0.6825 GB, free: 9.965 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00159/0.2411, allocations: 0.65 MB / 0.6831 GB, free: 9.312 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001714/0.2429, allocations: 0.8058 MB / 0.6839 GB, free: 8.453 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003376/0.2463, allocations: 1.49 MB / 0.6853 GB, free: 6.91 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.077e-05/0.2463, allocations: 4 kB / 0.6853 GB, free: 6.906 MB / 494.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.01602/0.2623, allocations: 4.453 MB / 0.6897 GB, free: 2.441 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.745e-05/0.2624, allocations: 8 kB / 0.6897 GB, free: 2.434 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.2624, allocations: 4 kB / 0.6897 GB, free: 2.43 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008117/0.2705, allocations: 2.233 MB / 0.6919 GB, free: 196 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007103/0.2713, allocations: 135.8 kB / 0.692 GB, free: 60 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02942/0.3007, allocations: 10.96 MB / 0.7027 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001538/0.3023, allocations: 167.3 kB / 0.7029 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000121/0.3024, allocations: 32 kB / 0.7029 GB, free: 4.75 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (79): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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 {(26,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0004342/0.3029, allocations: 234.6 kB / 0.7031 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002557/0.3031, allocations: 123.2 kB / 0.7032 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01577/0.3189, allocations: 4.392 MB / 0.7075 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.762e-05/0.319, allocations: 12 kB / 0.7076 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.319, allocations: 3.984 kB / 0.7076 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-05/0.319, allocations: 3.984 kB / 0.7076 GB, free: 15.96 MB / 0.5137 GB 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 postOpt removeSimpleEquations (simulation): time 0.01835/0.3374, allocations: 6.006 MB / 0.7134 GB, free: 9.816 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.406e-05/0.3374, allocations: 0 / 0.7134 GB, free: 9.816 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004926/0.3379, allocations: 83.89 kB / 0.7135 GB, free: 9.734 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007796/0.3457, allocations: 2.116 MB / 0.7156 GB, free: 7.613 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001842/0.3459, allocations: 16 kB / 0.7156 GB, free: 7.598 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02651/0.3725, allocations: 9.714 MB / 0.7251 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.3725, allocations: 0 / 0.7251 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01855/0.3911, allocations: 5.402 MB / 0.7303 GB, free: 8.309 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004449/0.3915, allocations: 212.2 kB / 0.7305 GB, free: 8.082 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002261/0.3918, allocations: 19.94 kB / 0.7306 GB, free: 8.062 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001191/0.393, allocations: 99.88 kB / 0.7307 GB, free: 7.965 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007673/0.3938, allocations: 232.6 kB / 0.7309 GB, free: 7.738 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.169e-05/0.3938, allocations: 24 kB / 0.7309 GB, free: 7.715 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0009307/0.3948, allocations: 0.6269 MB / 0.7315 GB, free: 7.078 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.61e-07/0.3948, allocations: 3.938 kB / 0.7315 GB, free: 7.074 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001445/0.3962, allocations: 443.7 kB / 0.7319 GB, free: 6.641 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 (50): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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 {(26,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01856/0.4148, allocations: 5.973 MB / 0.7378 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008116/0.423, allocations: 2.489 MB / 0.7402 GB, free: 14.14 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/0.423, allocations: 0 / 0.7402 GB, free: 14.14 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006016/0.4291, allocations: 1.712 MB / 0.7419 GB, free: 12.41 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008953/0.43, allocations: 101.3 kB / 0.742 GB, free: 12.3 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04356/0.4735, allocations: 15.83 MB / 0.7574 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007177/0.4743, allocations: 1.069 MB / 0.7585 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003736/0.4747, allocations: 82.69 kB / 0.7586 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005606/0.4753, allocations: 411.3 kB / 0.759 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of SimCode: time 2.906e-06/0.4753, allocations: 4 kB / 0.759 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3312/0.8065, allocations: 37.24 MB / 0.7953 GB, free: 106.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.46/17.27, allocations: 10.86 kB / 0.7953 GB, free: 106.4 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSource.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSource.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSource.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSource.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSource_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_SourcesBehindImpedance_VSource.fmu > OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSource.pipe 2>&1)