Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.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.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_InductiveMotorI_SIMBOpenline_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_InductiveMotorI_SIMBOpenline_Test",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.001515/0.001515, 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.405/1.405, allocations: 222.9 MB / 239.3 MB, free: 4.613 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.00155/0.00155, allocations: 196.4 kB / 289.6 MB, free: 2.316 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5058/0.5058, allocations: 91.89 MB / 431.6 MB, free: 9.301 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001618/0.001618, allocations: 75.88 kB / 0.502 GB, free: 7.676 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3293/0.3309, allocations: 71.26 MB / 0.5716 GB, free: 36.69 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test): time 0.003106/0.334, allocations: 2.81 MB / 0.5743 GB, free: 35.27 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00126/0.3353, allocations: 0.8908 MB / 0.5752 GB, free: 34.87 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001247/0.3355, allocations: 2.906 kB / 0.5752 GB, free: 34.87 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002527/0.3357, allocations: 96.61 kB / 0.5753 GB, free: 34.82 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002333/0.336, allocations: 118.1 kB / 0.5754 GB, free: 34.75 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008/0.3368, allocations: 440.9 kB / 0.5758 GB, free: 34.6 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002786/0.3371, allocations: 425.1 kB / 0.5762 GB, free: 34.48 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001585/0.3372, allocations: 96.52 kB / 0.5763 GB, free: 34.43 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001115/0.3374, allocations: 173 kB / 0.5765 GB, free: 34.35 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002325/0.3376, allocations: 228.1 kB / 0.5767 GB, free: 34.24 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.583e-05/0.3376, allocations: 33.25 kB / 0.5767 GB, free: 34.24 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001357/0.3378, allocations: 85.23 kB / 0.5768 GB, free: 34.22 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.454e-05/0.3379, allocations: 91.88 kB / 0.5769 GB, free: 34.16 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001143/0.338, allocations: 191.5 kB / 0.5771 GB, free: 34.04 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003684/0.3383, allocations: 499.1 kB / 0.5775 GB, free: 33.81 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.3384, allocations: 1.688 kB / 0.5776 GB, free: 33.81 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3384, allocations: 0 / 0.5776 GB, free: 33.81 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.3384, allocations: 0 / 0.5776 GB, free: 33.81 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.002752/0.3411, allocations: 1.021 MB / 0.5785 GB, free: 33.23 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.3412, allocations: 8.406 kB / 0.5786 GB, free: 33.23 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.733e-05/0.3412, allocations: 61.28 kB / 0.5786 GB, free: 33.17 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001549/0.3428, allocations: 260 kB / 0.5789 GB, free: 33.13 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003555/0.3432, allocations: 349.3 kB / 0.5792 GB, free: 32.83 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001037/0.3433, allocations: 85.33 kB / 0.5793 GB, free: 32.75 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.622e-05/0.3434, allocations: 23 kB / 0.5793 GB, free: 32.75 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006675/0.344, allocations: 371.3 kB / 0.5797 GB, free: 32.6 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.3441, allocations: 0 / 0.5797 GB, free: 32.6 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.852e-05/0.3441, allocations: 12.31 kB / 0.5797 GB, free: 32.59 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.3441, allocations: 5.75 kB / 0.5797 GB, free: 32.59 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006611/0.3448, allocations: 362.7 kB / 0.58 GB, free: 32.47 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001671/0.3465, allocations: 1.021 MB / 0.581 GB, free: 31.9 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006673/0.3531, allocations: 1.365 MB / 0.5823 GB, free: 31.68 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005518/0.3537, allocations: 257.8 kB / 0.5826 GB, free: 31.58 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.846e-05/0.3538, allocations: 9.266 kB / 0.5826 GB, free: 31.58 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.866e-05/0.3538, allocations: 41.53 kB / 0.5826 GB, free: 31.53 MB / 430.1 MB Notification: Performance of pre-optimization done (n=31): time 2.074e-06/0.3538, allocations: 0 / 0.5826 GB, free: 31.53 MB / 430.1 MB Notification: Performance of matching and sorting (n=31): time 0.006649/0.3605, allocations: 1.98 MB / 0.5846 GB, free: 30.84 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.68e-05/0.3605, allocations: 62.02 kB / 0.5846 GB, free: 30.77 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003473/0.3609, allocations: 318.3 kB / 0.5849 GB, free: 30.6 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.164e-05/0.3609, allocations: 30.98 kB / 0.585 GB, free: 30.57 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.526e-05/0.361, allocations: 185.9 kB / 0.5851 GB, free: 30.41 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001015/0.3611, allocations: 115.1 kB / 0.5853 GB, free: 30.32 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000122/0.3613, allocations: 49.94 kB / 0.5853 GB, free: 30.28 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.261e-05/0.3613, allocations: 348.5 kB / 0.5856 GB, free: 29.95 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004684/0.3618, allocations: 216.2 kB / 0.5858 GB, free: 29.88 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005083/0.3623, allocations: 222.3 kB / 0.5861 GB, free: 29.8 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001078/0.3634, allocations: 476 kB / 0.5865 GB, free: 29.59 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.3634, allocations: 0 / 0.5865 GB, free: 29.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.004053/0.3675, allocations: 1.249 MB / 0.5877 GB, free: 29.25 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.3675, allocations: 9.5 kB / 0.5877 GB, free: 29.24 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.3675, allocations: 0 / 0.5877 GB, free: 29.24 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003117/0.3707, allocations: 0.7566 MB / 0.5885 GB, free: 29.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001792/0.3708, allocations: 27.02 kB / 0.5885 GB, free: 29.09 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005325/0.3762, allocations: 3.143 MB / 0.5916 GB, free: 26.98 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005198/0.3767, allocations: 51.78 kB / 0.5916 GB, free: 26.96 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.968e-05/0.3768, allocations: 6 kB / 0.5916 GB, free: 26.96 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (21): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {(2,100.0%), (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 {(5,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001854/0.3769, allocations: 150.3 kB / 0.5918 GB, free: 26.82 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.3e-05/0.377, allocations: 40.06 kB / 0.5918 GB, free: 26.8 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003908/0.381, allocations: 1.21 MB / 0.593 GB, free: 26.44 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.381, allocations: 7.594 kB / 0.593 GB, free: 26.44 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.381, allocations: 2.25 kB / 0.593 GB, free: 26.44 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.381, allocations: 1.031 kB / 0.593 GB, free: 26.44 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005018/0.3815, allocations: 0.5155 MB / 0.5935 GB, free: 26.11 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.3815, allocations: 3.938 kB / 0.5935 GB, free: 26.11 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002029/0.3817, allocations: 32.14 kB / 0.5935 GB, free: 26.1 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002618/0.3844, allocations: 0.6724 MB / 0.5942 GB, free: 25.96 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.27e-05/0.3844, allocations: 9.25 kB / 0.5942 GB, free: 25.96 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004183/0.3886, allocations: 2.692 MB / 0.5968 GB, free: 24.03 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.3886, allocations: 2.156 kB / 0.5968 GB, free: 24.03 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004446/0.3931, allocations: 1.577 MB / 0.5984 GB, free: 23.45 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.867e-05/0.3932, allocations: 118.4 kB / 0.5985 GB, free: 23.33 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.692e-05/0.3932, allocations: 6.844 kB / 0.5985 GB, free: 23.32 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004354/0.3937, allocations: 36.33 kB / 0.5985 GB, free: 23.32 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002539/0.3939, allocations: 85.41 kB / 0.5986 GB, free: 23.3 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.879e-05/0.394, allocations: 9.625 kB / 0.5986 GB, free: 23.29 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002489/0.3942, allocations: 229.4 kB / 0.5988 GB, free: 23.17 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3942, allocations: 3.938 kB / 0.5988 GB, free: 23.17 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005493/0.3948, allocations: 142 kB / 0.599 GB, free: 23.15 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (motorTypeI.s) * 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 (22): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {(2,100.0%), (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): 1 system {(4,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004804/0.3996, allocations: 2.127 MB / 0.6011 GB, free: 22.04 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002479/0.4021, allocations: 0.9925 MB / 0.602 GB, free: 21.49 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.4021, allocations: 4 kB / 0.602 GB, free: 21.48 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001664/0.4038, allocations: 0.7134 MB / 0.6027 GB, free: 21.04 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003789/0.4042, allocations: 29.56 kB / 0.6027 GB, free: 21.02 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01685/0.421, allocations: 5.666 MB / 0.6083 GB, free: 18.46 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002259/0.4213, allocations: 0.7891 MB / 0.6091 GB, free: 17.75 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001063/0.4214, allocations: 21.7 kB / 0.6091 GB, free: 17.75 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001507/0.4216, allocations: 107.1 kB / 0.6092 GB, free: 17.67 MB / 430.1 MB Notification: Performance of SimCode: time 7.21e-07/0.4216, allocations: 4 kB / 0.6092 GB, free: 17.66 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03488/0.4565, allocations: 11.37 MB / 0.6203 GB, free: 12.09 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.54, allocations: 3.938 kB / 0.6203 GB, free: 12.09 MB / 430.1 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_InductiveMotorI_SIMBOpenline_Test.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe 2>&1)