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.001428/0.001428, allocations: 108 kB / 15.61 MB, free: 152 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.577/1.577, allocations: 222.9 MB / 239.3 MB, free: 4.602 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.001841/0.001841, allocations: 188.5 kB / 289.6 MB, free: 2.328 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5898/0.5898, allocations: 91.89 MB / 431.6 MB, free: 9.301 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001865/0.001865, allocations: 80.2 kB / 0.502 GB, free: 7.672 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5853/0.5872, allocations: 71.26 MB / 0.5716 GB, free: 36.62 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.VoltageSourceReImInputConstant): time 0.00737/0.5946, allocations: 6.062 MB / 0.5775 GB, free: 33.1 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004221/0.5989, allocations: 1.791 MB / 0.5792 GB, free: 31.97 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006231/0.5995, allocations: 8.531 kB / 0.5792 GB, free: 31.97 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006607/0.6002, allocations: 231.5 kB / 0.5795 GB, free: 31.85 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001425/0.6017, allocations: 0.548 MB / 0.58 GB, free: 31.48 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001654/0.6033, allocations: 0.7607 MB / 0.5807 GB, free: 31.07 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00126/0.6046, allocations: 1.356 MB / 0.5821 GB, free: 30.39 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003959/0.605, allocations: 286.1 kB / 0.5823 GB, free: 30.29 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005465/0.6056, allocations: 0.5444 MB / 0.5829 GB, free: 30.02 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007196/0.6063, allocations: 0.7076 MB / 0.5836 GB, free: 29.67 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001541/0.6065, allocations: 104 kB / 0.5837 GB, free: 29.67 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004155/0.6069, allocations: 221.5 kB / 0.5839 GB, free: 29.63 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002039/0.6071, allocations: 277.2 kB / 0.5841 GB, free: 29.45 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004033/0.6075, allocations: 0.5901 MB / 0.5847 GB, free: 29.05 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001305/0.6088, allocations: 1.441 MB / 0.5861 GB, free: 28.39 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.695e-06/0.6088, allocations: 0 / 0.5861 GB, free: 28.39 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.6089, allocations: 7.188 kB / 0.5861 GB, free: 28.38 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.164e-05/0.6089, allocations: 0 / 0.5861 GB, free: 28.38 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.008783/0.6177, allocations: 2.499 MB / 0.5886 GB, free: 27.27 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.194e-05/0.6178, allocations: 8.688 kB / 0.5886 GB, free: 27.27 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001711/0.6179, allocations: 118.5 kB / 0.5887 GB, free: 27.18 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004369/0.6223, allocations: 0.6783 MB / 0.5893 GB, free: 27.04 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001161/0.6235, allocations: 0.7433 MB / 0.5901 GB, free: 26.5 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003613/0.6239, allocations: 341.9 kB / 0.5904 GB, free: 26.19 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000162/0.624, allocations: 78.34 kB / 0.5905 GB, free: 26.16 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002434/0.6265, allocations: 1.104 MB / 0.5916 GB, free: 25.74 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.461e-05/0.6265, allocations: 0 / 0.5916 GB, free: 25.74 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001041/0.6266, allocations: 30.19 kB / 0.5916 GB, free: 25.72 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.874e-05/0.6267, allocations: 17.25 kB / 0.5916 GB, free: 25.72 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002814/0.6295, allocations: 1.054 MB / 0.5926 GB, free: 25.37 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.007286/0.6368, allocations: 3.455 MB / 0.596 GB, free: 23.39 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01371/0.6505, allocations: 3.092 MB / 0.599 GB, free: 22.56 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001644/0.6522, allocations: 0.7089 MB / 0.5997 GB, free: 22.29 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001028/0.6523, allocations: 12.27 kB / 0.5997 GB, free: 22.29 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.561e-05/0.6524, allocations: 46.34 kB / 0.5998 GB, free: 22.23 MB / 430.1 MB Notification: Performance of pre-optimization done (n=83): time 4.93e-06/0.6524, allocations: 1 kB / 0.5998 GB, free: 22.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=83): time 0.03753/0.6899, allocations: 7.715 MB / 0.6073 GB, free: 20.83 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.387e-05/0.6901, allocations: 85.86 kB / 0.6074 GB, free: 20.73 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001891/0.692, allocations: 0.8853 MB / 0.6083 GB, free: 20.36 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002275/0.6922, allocations: 41.67 kB / 0.6083 GB, free: 20.31 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004122/0.6926, allocations: 459.8 kB / 0.6087 GB, free: 19.95 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000383/0.693, allocations: 292.1 kB / 0.609 GB, free: 19.72 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004272/0.6934, allocations: 160.5 kB / 0.6092 GB, free: 19.64 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.6936, allocations: 345.6 kB / 0.6095 GB, free: 19.31 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001917/0.6955, allocations: 0.6331 MB / 0.6101 GB, free: 19.09 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001997/0.6975, allocations: 0.8008 MB / 0.6109 GB, free: 18.69 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003942/0.7014, allocations: 1.45 MB / 0.6123 GB, free: 17.92 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.025e-05/0.7015, allocations: 1.031 kB / 0.6123 GB, free: 17.92 MB / 430.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.01676/0.7182, allocations: 4.222 MB / 0.6164 GB, free: 15.87 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.803e-05/0.7183, allocations: 8.469 kB / 0.6164 GB, free: 15.87 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.606e-05/0.7184, allocations: 5.094 kB / 0.6164 GB, free: 15.87 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007671/0.726, allocations: 2.159 MB / 0.6186 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007823/0.7269, allocations: 127.8 kB / 0.6187 GB, free: 13.83 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02381/0.7507, allocations: 10.09 MB / 0.6285 GB, free: 3.598 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001884/0.7526, allocations: 167 kB / 0.6287 GB, free: 3.434 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-05/0.7527, allocations: 35.98 kB / 0.6287 GB, free: 3.398 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.0005005/0.7532, allocations: 233.6 kB / 0.6289 GB, free: 3.16 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002213/0.7534, allocations: 114.5 kB / 0.6291 GB, free: 3.047 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01366/0.7671, allocations: 4.123 MB / 0.6331 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.527e-05/0.7672, allocations: 12 kB / 0.6331 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.7672, allocations: 0 / 0.6331 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.873e-05/0.7672, allocations: 3.984 kB / 0.6331 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01778/0.785, allocations: 5.548 MB / 0.6385 GB, free: 9.219 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.027e-05/0.7851, allocations: 7.938 kB / 0.6385 GB, free: 9.211 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004233/0.7855, allocations: 71.91 kB / 0.6386 GB, free: 9.141 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007698/0.7932, allocations: 2.051 MB / 0.6406 GB, free: 7.078 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001792/0.7934, allocations: 20 kB / 0.6406 GB, free: 7.059 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02514/0.8186, allocations: 8.935 MB / 0.6493 GB, free: 13.98 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.8187, allocations: 4 kB / 0.6493 GB, free: 13.97 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01792/0.8366, allocations: 5.084 MB / 0.6543 GB, free: 8.859 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008052/0.8375, allocations: 199.5 kB / 0.6545 GB, free: 8.645 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005724/0.8381, allocations: 16 kB / 0.6545 GB, free: 8.629 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001639/0.8397, allocations: 103.9 kB / 0.6546 GB, free: 8.527 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009847/0.8407, allocations: 228.6 kB / 0.6548 GB, free: 8.305 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001351/0.8409, allocations: 24 kB / 0.6548 GB, free: 8.281 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001304/0.8422, allocations: 0.5953 MB / 0.6554 GB, free: 7.676 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.8422, allocations: 0 / 0.6554 GB, free: 7.676 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002331/0.8446, allocations: 419.7 kB / 0.6558 GB, free: 7.266 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.01825/0.8628, allocations: 5.648 MB / 0.6613 GB, free: 1.582 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009523/0.8724, allocations: 2.486 MB / 0.6638 GB, free: 15.06 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/0.8725, allocations: 0 / 0.6638 GB, free: 15.06 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006399/0.8789, allocations: 1.724 MB / 0.6655 GB, free: 13.3 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001474/0.8804, allocations: 90.8 kB / 0.6655 GB, free: 13.22 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04646/0.9269, allocations: 15.65 MB / 0.6808 GB, free: 13.14 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001117/0.9281, allocations: 1.045 MB / 0.6818 GB, free: 12.07 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005525/0.9286, allocations: 86.3 kB / 0.6819 GB, free: 11.98 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008002/0.9294, allocations: 407.2 kB / 0.6823 GB, free: 11.59 MB / 494.1 MB Notification: Performance of SimCode: time 1.573e-06/0.9295, allocations: 0 / 0.6823 GB, free: 11.59 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09397/1.023, allocations: 35.07 MB / 0.7166 GB, free: 8.645 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.42/14.44, allocations: 3 kB / 0.7166 GB, free: 8.645 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)