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.001083/0.001083, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.31/1.31, allocations: 223.2 MB / 238.9 MB, free: 5.656 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.001218/0.001218, allocations: 189 kB / 290.2 MB, free: 2.352 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5035/0.5035, allocations: 79.46 MB / 420.7 MB, free: 3.961 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004702/0.0004708, allocations: 8 kB / 0.4891 GB, free: 5.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4156/0.4161, allocations: 69.51 MB / 0.557 GB, free: 37.96 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.VoltageSourceReImInputConstant): time 0.004374/0.4205, allocations: 5.304 MB / 0.5621 GB, free: 37.57 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002983/0.4235, allocations: 1.773 MB / 0.5639 GB, free: 37.32 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004404/0.424, allocations: 12.03 kB / 0.5639 GB, free: 37.32 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004052/0.4244, allocations: 172.9 kB / 0.564 GB, free: 37.26 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001094/0.4255, allocations: 0.5175 MB / 0.5645 GB, free: 37.21 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001253/0.4268, allocations: 0.6348 MB / 0.5652 GB, free: 37.16 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001056/0.4278, allocations: 0.8816 MB / 0.566 GB, free: 36.98 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002966/0.4281, allocations: 232.2 kB / 0.5663 GB, free: 36.95 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004283/0.4286, allocations: 486.1 kB / 0.5667 GB, free: 36.81 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005945/0.4292, allocations: 0.6158 MB / 0.5673 GB, free: 36.65 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001039/0.4293, allocations: 58.03 kB / 0.5674 GB, free: 36.65 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003393/0.4296, allocations: 143.4 kB / 0.5675 GB, free: 36.65 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001512/0.4298, allocations: 228.5 kB / 0.5677 GB, free: 36.58 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001332/0.4299, allocations: 205.6 kB / 0.5679 GB, free: 36.51 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007514/0.4307, allocations: 1.028 MB / 0.5689 GB, free: 36.35 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.4307, allocations: 0 / 0.5689 GB, free: 36.35 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.4307, allocations: 0 / 0.5689 GB, free: 36.35 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.193e-05/0.4307, allocations: 0 / 0.5689 GB, free: 36.35 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.007213/0.4379, allocations: 2.356 MB / 0.5712 GB, free: 35.54 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.438, allocations: 11.5 kB / 0.5712 GB, free: 35.54 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002157/0.4382, allocations: 124.7 kB / 0.5714 GB, free: 35.5 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004037/0.4423, allocations: 0.6793 MB / 0.572 GB, free: 35.4 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001039/0.4433, allocations: 0.7075 MB / 0.5727 GB, free: 34.89 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002932/0.4436, allocations: 356.2 kB / 0.5731 GB, free: 34.59 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001226/0.4438, allocations: 69.62 kB / 0.5731 GB, free: 34.56 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002098/0.4459, allocations: 1.178 MB / 0.5743 GB, free: 34.14 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.4459, allocations: 0 / 0.5743 GB, free: 34.14 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.768e-05/0.446, allocations: 33.89 kB / 0.5743 GB, free: 34.12 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.489e-05/0.446, allocations: 17.72 kB / 0.5743 GB, free: 34.12 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002157/0.4482, allocations: 1.132 MB / 0.5754 GB, free: 33.77 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.00554/0.4537, allocations: 3.635 MB / 0.579 GB, free: 31.65 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01221/0.4659, allocations: 4.003 MB / 0.5829 GB, free: 30.73 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001987/0.4662, allocations: 13.2 kB / 0.5829 GB, free: 30.73 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.4662, allocations: 51.42 kB / 0.5829 GB, free: 30.68 MB / 430.1 MB Notification: Performance of pre-optimization done (n=83): time 2.935e-06/0.4662, allocations: 0 / 0.5829 GB, free: 30.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=83): time 0.03382/0.5, allocations: 9.472 MB / 0.5922 GB, free: 29.08 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.392e-05/0.5001, allocations: 86.2 kB / 0.5923 GB, free: 28.99 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001303/0.5014, allocations: 0.8684 MB / 0.5931 GB, free: 28.62 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002247/0.5017, allocations: 45.83 kB / 0.5932 GB, free: 28.57 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003047/0.502, allocations: 464 kB / 0.5936 GB, free: 28.2 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003061/0.5023, allocations: 296.5 kB / 0.5939 GB, free: 27.97 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.1e-05/0.5024, allocations: 14.75 kB / 0.5939 GB, free: 27.96 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.515e-05/0.5025, allocations: 342 kB / 0.5942 GB, free: 27.64 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001597/0.5041, allocations: 0.7129 MB / 0.5949 GB, free: 27.41 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001667/0.5058, allocations: 0.8692 MB / 0.5958 GB, free: 27 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0016/0.5074, allocations: 0.7581 MB / 0.5965 GB, free: 26.72 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.5074, allocations: 3.938 kB / 0.5965 GB, free: 26.71 MB / 430.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.01587/0.5233, allocations: 5.202 MB / 0.6016 GB, free: 25.65 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.104e-05/0.5233, allocations: 7.781 kB / 0.6016 GB, free: 25.65 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.637e-05/0.5233, allocations: 4.906 kB / 0.6016 GB, free: 25.65 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008281/0.5316, allocations: 2.529 MB / 0.6041 GB, free: 25.23 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007364/0.5324, allocations: 126.3 kB / 0.6042 GB, free: 25.21 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02596/0.5584, allocations: 10.97 MB / 0.6149 GB, free: 17.18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001639/0.5601, allocations: 207.1 kB / 0.6151 GB, free: 16.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.399e-05/0.5602, allocations: 32 kB / 0.6151 GB, free: 16.95 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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {24 15} Notification: Performance of prepare postOptimizeDAE: time 0.0004393/0.5606, allocations: 229.6 kB / 0.6154 GB, free: 16.71 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001861/0.5608, allocations: 119.1 kB / 0.6155 GB, free: 16.6 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01349/0.5743, allocations: 5.104 MB / 0.6205 GB, free: 11.47 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.849e-05/0.5744, allocations: 12 kB / 0.6205 GB, free: 11.46 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.5744, allocations: 5.125 kB / 0.6205 GB, free: 11.46 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.202e-05/0.5744, allocations: 3.984 kB / 0.6205 GB, free: 11.45 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01527/0.5897, allocations: 6.533 MB / 0.6269 GB, free: 4.801 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.806e-05/0.5898, allocations: 3.984 kB / 0.6269 GB, free: 4.797 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000473/0.5902, allocations: 75.91 kB / 0.6269 GB, free: 4.723 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006831/0.5971, allocations: 2.414 MB / 0.6293 GB, free: 2.305 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001431/0.5972, allocations: 15.98 kB / 0.6293 GB, free: 2.289 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02335/0.6206, allocations: 9.709 MB / 0.6388 GB, free: 8.449 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/0.6207, allocations: 3.938 kB / 0.6388 GB, free: 8.445 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01706/0.6377, allocations: 6.149 MB / 0.6448 GB, free: 2.262 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006135/0.6384, allocations: 199.5 kB / 0.645 GB, free: 2.047 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004327/0.6389, allocations: 19.98 kB / 0.645 GB, free: 2.027 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001407/0.6403, allocations: 139.9 kB / 0.6451 GB, free: 1.891 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008077/0.6411, allocations: 225.6 kB / 0.6454 GB, free: 1.668 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001418/0.6413, allocations: 27.95 kB / 0.6454 GB, free: 1.641 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0009547/0.6422, allocations: 0.5914 MB / 0.646 GB, free: 1.039 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.6423, allocations: 0 / 0.646 GB, free: 1.039 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00167/0.6439, allocations: 415.7 kB / 0.6464 GB, free: 0.6328 MB / 446.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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {24 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.01731/0.6612, allocations: 6.781 MB / 0.653 GB, free: 9.809 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008442/0.6697, allocations: 2.791 MB / 0.6557 GB, free: 6.984 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/0.6698, allocations: 0 / 0.6557 GB, free: 6.984 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005939/0.6757, allocations: 1.966 MB / 0.6576 GB, free: 4.984 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009314/0.6767, allocations: 80.17 kB / 0.6577 GB, free: 4.906 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006871/0.6836, allocations: 5.742 MB / 0.6633 GB, free: 15.04 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007965/0.6844, allocations: 1.076 MB / 0.6644 GB, free: 13.94 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000385/0.6848, allocations: 77.38 kB / 0.6644 GB, free: 13.86 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005608/0.6854, allocations: 404.6 kB / 0.6648 GB, free: 13.47 MB / 478.1 MB Notification: Performance of SimCode: time 1.273e-06/0.6854, allocations: 4 kB / 0.6648 GB, free: 13.46 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05549/0.7409, allocations: 30.98 MB / 0.6951 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001634/0.7411, allocations: 220 kB / 0.6953 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.66/3.401, allocations: 0 / 0.6953 GB, free: 14.64 MB / 0.4981 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/linux/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) Environment - environmentSimulation: