Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.InductiveMotorIII_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_SIMBOpenline_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_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.001405/0.001405, allocations: 108 kB / 15.6 MB, free: 132 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.422/1.422, allocations: 222.9 MB / 239.3 MB, free: 4.605 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.001327/0.001327, allocations: 188.5 kB / 289.6 MB, free: 2.336 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4774/0.4774, allocations: 78.54 MB / 418.3 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001591/0.001592, allocations: 87.86 kB / 497.6 MB, free: 6.32 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1268, allocations: 68.18 MB / 0.5525 GB, free: 2.102 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test): time 0.2123/0.3392, allocations: 2.978 MB / 0.5554 GB, free: 37.52 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00137/0.3406, allocations: 0.954 MB / 0.5563 GB, free: 37.48 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001431/0.3407, allocations: 4.281 kB / 0.5563 GB, free: 37.48 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002585/0.341, allocations: 96.52 kB / 0.5564 GB, free: 37.47 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002763/0.3413, allocations: 146.4 kB / 0.5566 GB, free: 37.46 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008305/0.3421, allocations: 460.7 kB / 0.557 GB, free: 37.35 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000387/0.3425, allocations: 0.5016 MB / 0.5575 GB, free: 37.32 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001765/0.3427, allocations: 96.38 kB / 0.5576 GB, free: 37.31 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001901/0.3429, allocations: 205.1 kB / 0.5578 GB, free: 37.27 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003031/0.3432, allocations: 284.2 kB / 0.558 GB, free: 37.2 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.896e-05/0.3433, allocations: 42.06 kB / 0.5581 GB, free: 37.2 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001755/0.3435, allocations: 99.89 kB / 0.5582 GB, free: 37.2 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.361e-05/0.3436, allocations: 112.1 kB / 0.5583 GB, free: 37.18 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001506/0.3437, allocations: 227.1 kB / 0.5585 GB, free: 37.11 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004725/0.3442, allocations: 0.5563 MB / 0.559 GB, free: 36.99 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.3442, allocations: 2.531 kB / 0.559 GB, free: 36.99 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.3442, allocations: 0 / 0.559 GB, free: 36.99 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.805e-06/0.3442, allocations: 0 / 0.559 GB, free: 36.99 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.003108/0.3474, allocations: 1.119 MB / 0.5601 GB, free: 36.45 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.3474, allocations: 8.219 kB / 0.5601 GB, free: 36.45 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.645e-05/0.3475, allocations: 65.69 kB / 0.5602 GB, free: 36.41 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00161/0.3491, allocations: 276.5 kB / 0.5605 GB, free: 36.38 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004137/0.3495, allocations: 395.5 kB / 0.5609 GB, free: 36.13 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.189e-05/0.3496, allocations: 93.88 kB / 0.5609 GB, free: 36.06 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.71e-05/0.3497, allocations: 28.25 kB / 0.561 GB, free: 36.06 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007126/0.3504, allocations: 397.1 kB / 0.5613 GB, free: 36.02 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.3504, allocations: 0 / 0.5613 GB, free: 36.02 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.682e-05/0.3505, allocations: 11.22 kB / 0.5614 GB, free: 36.02 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.3505, allocations: 5.875 kB / 0.5614 GB, free: 36.02 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006881/0.3512, allocations: 392.8 kB / 0.5617 GB, free: 36.02 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001755/0.3529, allocations: 1.101 MB / 0.5628 GB, free: 35.7 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006766/0.3597, allocations: 1.375 MB / 0.5642 GB, free: 35.67 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005122/0.3603, allocations: 281.6 kB / 0.5644 GB, free: 35.66 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.932e-05/0.3603, allocations: 4.406 kB / 0.5644 GB, free: 35.66 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.725e-05/0.3603, allocations: 39 kB / 0.5645 GB, free: 35.62 MB / 430.1 MB Notification: Performance of pre-optimization done (n=35): time 2.044e-06/0.3603, allocations: 7.188 kB / 0.5645 GB, free: 35.62 MB / 430.1 MB Notification: Performance of matching and sorting (n=35): time 0.006063/0.3664, allocations: 1.95 MB / 0.5664 GB, free: 35.25 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.51e-05/0.3665, allocations: 61.38 kB / 0.5664 GB, free: 35.19 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003981/0.3669, allocations: 397.6 kB / 0.5668 GB, free: 35.08 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.6e-05/0.3669, allocations: 30.17 kB / 0.5668 GB, free: 35.05 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.503e-05/0.367, allocations: 213.9 kB / 0.567 GB, free: 34.93 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.05e-05/0.3671, allocations: 121.1 kB / 0.5672 GB, free: 34.85 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001201/0.3672, allocations: 57.66 kB / 0.5672 GB, free: 34.84 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.005e-05/0.3673, allocations: 351.9 kB / 0.5676 GB, free: 34.52 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004549/0.3677, allocations: 224.8 kB / 0.5678 GB, free: 34.52 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004561/0.3682, allocations: 234.8 kB / 0.568 GB, free: 34.52 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000899/0.3691, allocations: 0.4888 MB / 0.5685 GB, free: 34.5 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3691, allocations: 2.531 kB / 0.5685 GB, free: 34.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003855/0.373, allocations: 1.276 MB / 0.5697 GB, free: 34.38 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.373, allocations: 5.438 kB / 0.5697 GB, free: 34.38 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.373, allocations: 0 / 0.5697 GB, free: 34.38 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002839/0.3759, allocations: 0.7706 MB / 0.5705 GB, free: 34.33 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002109/0.3761, allocations: 40.61 kB / 0.5705 GB, free: 34.33 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005288/0.3814, allocations: 3.113 MB / 0.5736 GB, free: 32.89 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004889/0.3819, allocations: 49.27 kB / 0.5736 GB, free: 32.88 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.073e-05/0.3819, allocations: 12.56 kB / 0.5736 GB, free: 32.88 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 (26): * Single equations (assignments): 23 * 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 {(7,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001682/0.3821, allocations: 148.8 kB / 0.5738 GB, free: 32.76 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.291e-05/0.3822, allocations: 43.5 kB / 0.5738 GB, free: 32.74 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003581/0.3858, allocations: 1.208 MB / 0.575 GB, free: 32.64 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.3858, allocations: 3.812 kB / 0.575 GB, free: 32.64 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/0.3858, allocations: 10.31 kB / 0.575 GB, free: 32.64 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.3858, allocations: 4.125 kB / 0.575 GB, free: 32.64 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004519/0.3863, allocations: 0.5294 MB / 0.5755 GB, free: 32.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.3863, allocations: 3.75 kB / 0.5755 GB, free: 32.43 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002521/0.3866, allocations: 34.31 kB / 0.5755 GB, free: 32.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002159/0.3887, allocations: 0.6312 MB / 0.5762 GB, free: 32.38 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.448e-05/0.3888, allocations: 6.094 kB / 0.5762 GB, free: 32.38 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003644/0.3924, allocations: 2.561 MB / 0.5787 GB, free: 30.97 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.3924, allocations: 0.8125 kB / 0.5787 GB, free: 30.97 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004285/0.3967, allocations: 1.574 MB / 0.5802 GB, free: 30.46 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000145/0.3969, allocations: 123.5 kB / 0.5803 GB, free: 30.33 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.879e-05/0.397, allocations: 9.281 kB / 0.5803 GB, free: 30.32 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004712/0.3975, allocations: 31.34 kB / 0.5804 GB, free: 30.32 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002412/0.3977, allocations: 89.14 kB / 0.5804 GB, free: 30.3 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.194e-05/0.3978, allocations: 16.28 kB / 0.5805 GB, free: 30.29 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003033/0.3981, allocations: 293 kB / 0.5807 GB, free: 30.14 MB / 430.1 MB Notification: Performance of sort global known variables: time 4.3e-07/0.3981, allocations: 0 / 0.5807 GB, free: 30.14 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000559/0.3986, allocations: 140.2 kB / 0.5809 GB, free: 30.12 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (motorTypeI.s,motorTypeI.epr,motorTypeI.epm) * 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 (26): * Single equations (assignments): 23 * 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.004377/0.403, allocations: 2.129 MB / 0.583 GB, free: 29.02 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002754/0.4058, allocations: 1.093 MB / 0.584 GB, free: 28.46 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4058, allocations: 0 / 0.584 GB, free: 28.46 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001649/0.4075, allocations: 0.7255 MB / 0.5847 GB, free: 28.02 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004042/0.4079, allocations: 35.28 kB / 0.5848 GB, free: 28 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0119/0.4198, allocations: 5.716 MB / 0.5903 GB, free: 25.26 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002339/0.4201, allocations: 0.8097 MB / 0.5911 GB, free: 24.56 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001408/0.4202, allocations: 32.08 kB / 0.5912 GB, free: 24.55 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001776/0.4204, allocations: 138.1 kB / 0.5913 GB, free: 24.45 MB / 430.1 MB Notification: Performance of SimCode: time 8.82e-07/0.4204, allocations: 0 / 0.5913 GB, free: 24.45 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03868/0.4591, allocations: 12.03 MB / 0.6031 GB, free: 22.75 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.75, allocations: 8.469 kB / 0.6031 GB, free: 22.75 MB / 430.1 MB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.sim & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_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_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_SIMBOpenline_Test.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe 2>&1)