Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Sources.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.VoltageSourceReImInputVaryRealAndImag,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_VoltageSourceReImInputVaryRealAndImag",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryRealAndImag,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_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.00772/0.007721, allocations: 102 kB / 15.73 MB, free: 6.051 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.306/1.306, allocations: 222.9 MB / 239.4 MB, free: 4.539 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.001198/0.001198, allocations: 192.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.4967/0.4967, allocations: 91.9 MB / 431.8 MB, free: 9.176 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 81.97 kB / 0.5722 GB, free: 33.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1446, allocations: 71.28 MB / 0.6419 GB, free: 4.09 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryRealAndImag): time 0.006256/0.1509, allocations: 6.181 MB / 0.6479 GB, free: 13.88 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003028/0.154, allocations: 1.79 MB / 0.6496 GB, free: 12.08 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003245/0.1543, allocations: 12 kB / 0.6497 GB, free: 12.07 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004892/0.1548, allocations: 238 kB / 0.6499 GB, free: 11.84 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001137/0.156, allocations: 0.6002 MB / 0.6505 GB, free: 11.23 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001464/0.1575, allocations: 0.7716 MB / 0.6512 GB, free: 10.47 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001412/0.1589, allocations: 1.389 MB / 0.6526 GB, free: 9.074 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003969/0.1593, allocations: 290.2 kB / 0.6529 GB, free: 8.781 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005684/0.1599, allocations: 0.564 MB / 0.6534 GB, free: 8.215 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007247/0.1606, allocations: 0.7078 MB / 0.6541 GB, free: 7.504 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001474/0.1608, allocations: 112 kB / 0.6542 GB, free: 7.395 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000383/0.1612, allocations: 223.9 kB / 0.6544 GB, free: 7.176 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002251/0.1614, allocations: 274.9 kB / 0.6547 GB, free: 6.906 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004909/0.1619, allocations: 0.6098 MB / 0.6553 GB, free: 6.293 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001351/0.1632, allocations: 1.464 MB / 0.6567 GB, free: 4.824 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1633, allocations: 0 / 0.6567 GB, free: 4.824 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1633, allocations: 3.938 kB / 0.6567 GB, free: 4.82 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.097e-05/0.1633, allocations: 0 / 0.6567 GB, free: 4.82 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.007559/0.1709, allocations: 2.547 MB / 0.6592 GB, free: 2.219 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.1709, allocations: 12.02 kB / 0.6592 GB, free: 2.207 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001437/0.1711, allocations: 118.5 kB / 0.6593 GB, free: 2.082 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003889/0.175, allocations: 0.6736 MB / 0.66 GB, free: 1.406 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001106/0.1761, allocations: 0.7403 MB / 0.6607 GB, free: 0.6094 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000389/0.1765, allocations: 341.3 kB / 0.661 GB, free: 228 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001417/0.1766, allocations: 75.94 kB / 0.6611 GB, free: 152 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002263/0.1789, allocations: 1.137 MB / 0.6622 GB, free: 14.99 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.272e-05/0.1789, allocations: 3.938 kB / 0.6622 GB, free: 14.99 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001163/0.1791, allocations: 28 kB / 0.6622 GB, free: 14.96 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.682e-05/0.1791, allocations: 20 kB / 0.6623 GB, free: 14.94 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002371/0.1815, allocations: 1.097 MB / 0.6633 GB, free: 13.84 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.005734/0.1872, allocations: 3.38 MB / 0.6666 GB, free: 10.32 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006759/0.194, allocations: 2.48 MB / 0.6691 GB, free: 7.707 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001558/0.1955, allocations: 0.7742 MB / 0.6698 GB, free: 6.926 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001189/0.1957, allocations: 17 kB / 0.6698 GB, free: 6.91 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/0.1957, allocations: 43.56 kB / 0.6699 GB, free: 6.859 MB / 478.1 MB Notification: Performance of pre-optimization done (n=90): time 2.525e-06/0.1957, allocations: 0 / 0.6699 GB, free: 6.859 MB / 478.1 MB Notification: Performance of matching and sorting (n=90): time 0.0284/0.2241, allocations: 7.673 MB / 0.6774 GB, free: 15.12 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.802e-05/0.2242, allocations: 86.11 kB / 0.6774 GB, free: 15.02 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002022/0.2263, allocations: 0.8327 MB / 0.6783 GB, free: 14.17 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000237/0.2265, allocations: 41.7 kB / 0.6783 GB, free: 14.12 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005255/0.2271, allocations: 468.5 kB / 0.6787 GB, free: 13.66 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005686/0.2277, allocations: 307.5 kB / 0.679 GB, free: 13.35 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006124/0.2283, allocations: 154.7 kB / 0.6792 GB, free: 13.2 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001998/0.2285, allocations: 341.9 kB / 0.6795 GB, free: 12.86 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001744/0.2303, allocations: 0.6734 MB / 0.6802 GB, free: 12.18 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001715/0.232, allocations: 0.8158 MB / 0.681 GB, free: 11.32 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003273/0.2353, allocations: 1.496 MB / 0.6824 GB, free: 9.773 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/0.2353, allocations: 7.938 kB / 0.6824 GB, free: 9.766 MB / 494.1 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.01389/0.2492, allocations: 4.302 MB / 0.6866 GB, free: 5.449 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.171e-05/0.2493, allocations: 8 kB / 0.6866 GB, free: 5.441 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.469e-05/0.2493, allocations: 4 kB / 0.6866 GB, free: 5.438 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007018/0.2563, allocations: 2.166 MB / 0.6888 GB, free: 3.266 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007405/0.2571, allocations: 143.8 kB / 0.6889 GB, free: 3.125 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02508/0.2822, allocations: 10.06 MB / 0.6987 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001565/0.2838, allocations: 175 kB / 0.6989 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002354/0.284, allocations: 35.98 kB / 0.6989 GB, free: 8.707 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.0006259/0.2847, allocations: 235.5 kB / 0.6992 GB, free: 8.469 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003739/0.2851, allocations: 106.7 kB / 0.6993 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01357/0.2986, allocations: 4.256 MB / 0.7034 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.732e-05/0.2987, allocations: 11.94 kB / 0.7034 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/0.2987, allocations: 4 kB / 0.7034 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.852e-05/0.2988, allocations: 3.984 kB / 0.7034 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01635/0.3151, allocations: 5.789 MB / 0.7091 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.434e-05/0.3152, allocations: 0 / 0.7091 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005326/0.3157, allocations: 99.81 kB / 0.7092 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006725/0.3224, allocations: 2.055 MB / 0.7112 GB, free: 12 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001608/0.3226, allocations: 12 kB / 0.7112 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02213/0.3448, allocations: 8.923 MB / 0.7199 GB, free: 2.91 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.3448, allocations: 7.938 kB / 0.7199 GB, free: 2.902 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01554/0.3604, allocations: 5.249 MB / 0.725 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004206/0.3608, allocations: 199.5 kB / 0.7252 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002964/0.3611, allocations: 16 kB / 0.7252 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00129/0.3624, allocations: 112 kB / 0.7254 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009133/0.3634, allocations: 240.6 kB / 0.7256 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001153/0.3635, allocations: 28 kB / 0.7256 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0008929/0.3644, allocations: 0.567 MB / 0.7262 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3644, allocations: 0 / 0.7262 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001699/0.3661, allocations: 431.5 kB / 0.7266 GB, free: 12.02 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.01598/0.3821, allocations: 5.823 MB / 0.7323 GB, free: 6.164 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007817/0.39, allocations: 2.571 MB / 0.7348 GB, free: 3.559 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.39, allocations: 0 / 0.7348 GB, free: 3.559 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005672/0.3957, allocations: 1.775 MB / 0.7365 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001307/0.397, allocations: 87.44 kB / 0.7366 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0399/0.437, allocations: 15.18 MB / 0.7514 GB, free: 2.246 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008421/0.4379, allocations: 1.061 MB / 0.7525 GB, free: 1.16 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004144/0.4383, allocations: 78.23 kB / 0.7525 GB, free: 1.082 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006804/0.439, allocations: 403.3 kB / 0.7529 GB, free: 0.6875 MB / 0.545 GB Notification: Performance of SimCode: time 7.01e-07/0.439, allocations: 0 / 0.7529 GB, free: 0.6875 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3369/0.776, allocations: 35.89 MB / 0.788 GB, free: 116.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.93/16.71, allocations: 4.922 kB / 0.788 GB, free: 116.5 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryRealAndImag.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryRealAndImag.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryRealAndImag.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryRealAndImag.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Sources_VoltageSourceReImInputVaryRealAndImag_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Sources_VoltageSourceReImInputVaryRealAndImag.fmu > OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryRealAndImag.pipe 2>&1)