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.001279/0.001279, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.574/1.574, allocations: 222.9 MB / 239 MB, free: 4.637 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.001798/0.001798, allocations: 200.4 kB / 289.3 MB, free: 2.379 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5696/0.5696, allocations: 91.89 MB / 431.3 MB, free: 9.414 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002866/0.002866, allocations: 75.88 kB / 0.5015 GB, free: 7.984 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4691/0.472, allocations: 71.27 MB / 0.5711 GB, free: 36.56 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.VoltageSourceReImInputConstant): time 0.007576/0.4797, allocations: 6.441 MB / 0.5774 GB, free: 32.79 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004772/0.4845, allocations: 1.819 MB / 0.5791 GB, free: 31.75 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001005/0.4855, allocations: 11.91 kB / 0.5792 GB, free: 31.75 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000868/0.4865, allocations: 191.9 kB / 0.5793 GB, free: 31.66 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001774/0.4883, allocations: 484.1 kB / 0.5798 GB, free: 31.34 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001964/0.4903, allocations: 0.715 MB / 0.5805 GB, free: 30.94 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002089/0.4924, allocations: 1.349 MB / 0.5818 GB, free: 30.27 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005162/0.4929, allocations: 290.5 kB / 0.5821 GB, free: 30.15 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008842/0.4938, allocations: 0.5494 MB / 0.5826 GB, free: 29.88 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007883/0.4946, allocations: 0.7081 MB / 0.5833 GB, free: 29.53 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001671/0.4948, allocations: 107.3 kB / 0.5834 GB, free: 29.52 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005352/0.4953, allocations: 223.8 kB / 0.5836 GB, free: 29.48 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002256/0.4955, allocations: 273.5 kB / 0.5839 GB, free: 29.3 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005198/0.4961, allocations: 0.5945 MB / 0.5845 GB, free: 28.91 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001668/0.4977, allocations: 1.438 MB / 0.5859 GB, free: 28.25 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.098e-05/0.4978, allocations: 3.281 kB / 0.5859 GB, free: 28.25 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.086e-06/0.4978, allocations: 0 / 0.5859 GB, free: 28.25 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.938e-05/0.4978, allocations: 0 / 0.5859 GB, free: 28.25 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.009486/0.5073, allocations: 2.502 MB / 0.5883 GB, free: 27.13 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.211e-05/0.5074, allocations: 9.281 kB / 0.5883 GB, free: 27.13 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002023/0.5076, allocations: 118.2 kB / 0.5885 GB, free: 27.04 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004452/0.5121, allocations: 0.6759 MB / 0.5891 GB, free: 26.91 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001766/0.5139, allocations: 0.7398 MB / 0.5898 GB, free: 26.36 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004603/0.5143, allocations: 341.4 kB / 0.5902 GB, free: 26.05 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002111/0.5146, allocations: 74.38 kB / 0.5902 GB, free: 26.03 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002785/0.5174, allocations: 1.111 MB / 0.5913 GB, free: 25.61 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.58e-05/0.5174, allocations: 0 / 0.5913 GB, free: 25.61 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001046/0.5175, allocations: 25.94 kB / 0.5913 GB, free: 25.59 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.465e-05/0.5176, allocations: 17.53 kB / 0.5914 GB, free: 25.59 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002715/0.5203, allocations: 1.052 MB / 0.5924 GB, free: 25.24 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.007949/0.5282, allocations: 3.465 MB / 0.5958 GB, free: 23.25 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01362/0.5419, allocations: 3.085 MB / 0.5988 GB, free: 22.43 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002353/0.5443, allocations: 0.7129 MB / 0.5995 GB, free: 22.15 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001413/0.5445, allocations: 14.33 kB / 0.5995 GB, free: 22.14 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.324e-05/0.5446, allocations: 39.92 kB / 0.5995 GB, free: 22.1 MB / 430.1 MB Notification: Performance of pre-optimization done (n=83): time 4.007e-06/0.5446, allocations: 1.594 kB / 0.5995 GB, free: 22.1 MB / 430.1 MB Notification: Performance of matching and sorting (n=83): time 0.03426/0.5788, allocations: 7.711 MB / 0.6071 GB, free: 20.7 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.644e-05/0.5789, allocations: 86.2 kB / 0.6071 GB, free: 20.61 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001569/0.5805, allocations: 0.8845 MB / 0.608 GB, free: 20.23 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001917/0.5807, allocations: 38.06 kB / 0.608 GB, free: 20.19 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003751/0.5811, allocations: 468.5 kB / 0.6085 GB, free: 19.82 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003594/0.5815, allocations: 291.8 kB / 0.6088 GB, free: 19.59 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004102/0.5819, allocations: 156.1 kB / 0.6089 GB, free: 19.51 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.867e-05/0.582, allocations: 345.5 kB / 0.6093 GB, free: 19.18 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001595/0.5836, allocations: 0.6299 MB / 0.6099 GB, free: 18.97 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00169/0.5853, allocations: 0.8042 MB / 0.6107 GB, free: 18.57 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003409/0.5887, allocations: 1.445 MB / 0.6121 GB, free: 17.87 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.937e-06/0.5887, allocations: 5.25 kB / 0.6121 GB, free: 17.86 MB / 430.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.01535/0.6041, allocations: 4.224 MB / 0.6162 GB, free: 15.86 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.849e-05/0.6042, allocations: 6.156 kB / 0.6162 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.741e-05/0.6042, allocations: 8.531 kB / 0.6162 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006806/0.611, allocations: 2.166 MB / 0.6183 GB, free: 13.83 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006935/0.6117, allocations: 131.8 kB / 0.6184 GB, free: 13.7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0225/0.6342, allocations: 10.08 MB / 0.6283 GB, free: 3.48 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001833/0.6361, allocations: 167 kB / 0.6284 GB, free: 3.316 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.357e-05/0.6362, allocations: 32 kB / 0.6285 GB, free: 3.285 MB / 430.1 MB 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.0004736/0.6367, allocations: 231.4 kB / 0.6287 GB, free: 3.051 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002083/0.6369, allocations: 114.6 kB / 0.6288 GB, free: 2.938 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01323/0.6502, allocations: 4.123 MB / 0.6328 GB, free: 14.79 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-05/0.6502, allocations: 8 kB / 0.6328 GB, free: 14.79 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.6502, allocations: 0 / 0.6328 GB, free: 14.79 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.793e-05/0.6503, allocations: 3.984 kB / 0.6328 GB, free: 14.78 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01635/0.6666, allocations: 5.56 MB / 0.6383 GB, free: 9.105 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.996e-05/0.6667, allocations: 3.984 kB / 0.6383 GB, free: 9.102 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004771/0.6672, allocations: 67.91 kB / 0.6383 GB, free: 9.035 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007179/0.6744, allocations: 2.055 MB / 0.6404 GB, free: 6.969 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001856/0.6746, allocations: 19.98 kB / 0.6404 GB, free: 6.949 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02333/0.698, allocations: 8.935 MB / 0.6491 GB, free: 13.86 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.698, allocations: 0 / 0.6491 GB, free: 13.86 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01604/0.7141, allocations: 5.076 MB / 0.6541 GB, free: 8.754 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006331/0.7148, allocations: 203.5 kB / 0.6542 GB, free: 8.535 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005039/0.7153, allocations: 16 kB / 0.6543 GB, free: 8.52 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00152/0.7168, allocations: 107.9 kB / 0.6544 GB, free: 8.414 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009137/0.7178, allocations: 232.6 kB / 0.6546 GB, free: 8.188 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001331/0.7179, allocations: 20 kB / 0.6546 GB, free: 8.168 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001077/0.719, allocations: 0.6031 MB / 0.6552 GB, free: 7.555 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.719, allocations: 0 / 0.6552 GB, free: 7.555 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001888/0.7209, allocations: 411.7 kB / 0.6556 GB, free: 7.152 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 (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.01608/0.737, allocations: 5.652 MB / 0.6611 GB, free: 1.465 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008334/0.7454, allocations: 2.482 MB / 0.6635 GB, free: 14.95 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.164e-06/0.7454, allocations: 4 kB / 0.6635 GB, free: 14.95 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005924/0.7514, allocations: 1.728 MB / 0.6652 GB, free: 13.19 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001481/0.7529, allocations: 88.22 kB / 0.6653 GB, free: 13.1 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04417/0.7971, allocations: 15.98 MB / 0.6809 GB, free: 12.69 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001049/0.7982, allocations: 1.049 MB / 0.6819 GB, free: 11.62 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005059/0.7987, allocations: 82.3 kB / 0.682 GB, free: 11.54 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007214/0.7995, allocations: 411.3 kB / 0.6824 GB, free: 11.13 MB / 494.1 MB Notification: Performance of SimCode: time 1.372e-06/0.7995, allocations: 0 / 0.6824 GB, free: 11.13 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08946/0.889, allocations: 33.76 MB / 0.7154 GB, free: 9.551 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003459/0.8894, allocations: 237.3 kB / 0.7156 GB, free: 9.297 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.855/3.744, allocations: 0 / 0.7156 GB, free: 9.297 MB / 0.5137 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Sources_VoltageSourceReImInputConstant_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Sources_VoltageSourceReImInputConstant.fmu > OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputConstant.pipe 2>&1)