Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.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.InductiveMotorIII_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_SIMBOpenline_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_dev_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.00146/0.00146, 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.365/1.365, allocations: 222.9 MB / 239.3 MB, free: 4.582 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.001415/0.001415, allocations: 184.5 kB / 289.6 MB, free: 2.312 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5151/0.5151, allocations: 91.9 MB / 431.6 MB, free: 9.258 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001635/0.001635, allocations: 79.88 kB / 0.502 GB, free: 7.641 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3296/0.3313, allocations: 71.26 MB / 0.5716 GB, free: 36.76 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test): time 0.003361/0.3347, allocations: 3.009 MB / 0.5745 GB, free: 35.22 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001497/0.3362, allocations: 0.9492 MB / 0.5754 GB, free: 34.8 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001955/0.3364, allocations: 3.438 kB / 0.5754 GB, free: 34.8 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002949/0.3368, allocations: 101.9 kB / 0.5755 GB, free: 34.75 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003023/0.3371, allocations: 143.2 kB / 0.5757 GB, free: 34.68 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009095/0.338, allocations: 469.5 kB / 0.5761 GB, free: 34.51 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00037/0.3384, allocations: 0.5013 MB / 0.5766 GB, free: 34.29 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001748/0.3385, allocations: 88.11 kB / 0.5767 GB, free: 34.25 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000184/0.3387, allocations: 212.1 kB / 0.5769 GB, free: 34.14 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002879/0.339, allocations: 282.5 kB / 0.5772 GB, free: 34.01 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.967e-05/0.3391, allocations: 44.12 kB / 0.5772 GB, free: 34.01 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001667/0.3393, allocations: 104.1 kB / 0.5773 GB, free: 33.99 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.807e-05/0.3394, allocations: 108.2 kB / 0.5774 GB, free: 33.92 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00014/0.3395, allocations: 227 kB / 0.5776 GB, free: 33.77 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004228/0.3399, allocations: 0.5604 MB / 0.5782 GB, free: 33.52 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3399, allocations: 1.75 kB / 0.5782 GB, free: 33.52 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.34, allocations: 0 / 0.5782 GB, free: 33.52 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.595e-06/0.34, allocations: 0 / 0.5782 GB, free: 33.52 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.003106/0.3431, allocations: 1.117 MB / 0.5793 GB, free: 32.9 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.3431, allocations: 11.09 kB / 0.5793 GB, free: 32.9 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.303e-05/0.3432, allocations: 64.48 kB / 0.5793 GB, free: 32.84 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001545/0.3447, allocations: 269.2 kB / 0.5796 GB, free: 32.79 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004142/0.3452, allocations: 406.1 kB / 0.58 GB, free: 32.46 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.467e-05/0.3453, allocations: 87.41 kB / 0.5801 GB, free: 32.39 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.755e-05/0.3453, allocations: 30.34 kB / 0.5801 GB, free: 32.38 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007037/0.3461, allocations: 401.3 kB / 0.5805 GB, free: 32.22 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.3461, allocations: 0 / 0.5805 GB, free: 32.22 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.032e-05/0.3461, allocations: 10.91 kB / 0.5805 GB, free: 32.21 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.3461, allocations: 5.562 kB / 0.5805 GB, free: 32.21 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006776/0.3468, allocations: 389.1 kB / 0.5809 GB, free: 32.09 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001771/0.3486, allocations: 1.103 MB / 0.5819 GB, free: 31.47 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00642/0.355, allocations: 1.376 MB / 0.5833 GB, free: 31.25 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005241/0.3556, allocations: 278 kB / 0.5836 GB, free: 31.14 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.326e-05/0.3556, allocations: 8.875 kB / 0.5836 GB, free: 31.13 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.846e-05/0.3557, allocations: 39.56 kB / 0.5836 GB, free: 31.09 MB / 430.1 MB Notification: Performance of pre-optimization done (n=35): time 1.924e-06/0.3557, allocations: 1.219 kB / 0.5836 GB, free: 31.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=35): time 0.006397/0.3621, allocations: 1.952 MB / 0.5855 GB, free: 30.39 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.706e-05/0.3621, allocations: 59.09 kB / 0.5856 GB, free: 30.32 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004767/0.3626, allocations: 398.5 kB / 0.5859 GB, free: 30.12 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.755e-05/0.3627, allocations: 35.73 kB / 0.586 GB, free: 30.09 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.3628, allocations: 204.2 kB / 0.5862 GB, free: 29.91 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.337e-05/0.3629, allocations: 125.5 kB / 0.5863 GB, free: 29.81 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001255/0.363, allocations: 60.94 kB / 0.5863 GB, free: 29.78 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.42e-05/0.3631, allocations: 351.4 kB / 0.5867 GB, free: 29.45 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004596/0.3635, allocations: 227.1 kB / 0.5869 GB, free: 29.37 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004657/0.364, allocations: 234.7 kB / 0.5871 GB, free: 29.29 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009688/0.365, allocations: 498.3 kB / 0.5876 GB, free: 29.07 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.365, allocations: 4.938 kB / 0.5876 GB, free: 29.07 MB / 430.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.004035/0.369, allocations: 1.278 MB / 0.5889 GB, free: 28.7 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.3691, allocations: 5.469 kB / 0.5889 GB, free: 28.7 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.3691, allocations: 0 / 0.5889 GB, free: 28.7 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002928/0.372, allocations: 0.7669 MB / 0.5896 GB, free: 28.55 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002226/0.3723, allocations: 39.44 kB / 0.5896 GB, free: 28.54 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005622/0.3779, allocations: 3.106 MB / 0.5927 GB, free: 26.48 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005353/0.3784, allocations: 45.89 kB / 0.5927 GB, free: 26.47 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.268e-05/0.3785, allocations: 11.38 kB / 0.5927 GB, free: 26.46 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.0001858/0.3787, allocations: 149.9 kB / 0.5929 GB, free: 26.32 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.034e-05/0.3788, allocations: 53.59 kB / 0.5929 GB, free: 26.29 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003735/0.3825, allocations: 1.206 MB / 0.5941 GB, free: 25.94 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/0.3825, allocations: 6.25 kB / 0.5941 GB, free: 25.94 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.3825, allocations: 9.906 kB / 0.5941 GB, free: 25.93 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.3826, allocations: 0 / 0.5941 GB, free: 25.93 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006225/0.3832, allocations: 0.5296 MB / 0.5946 GB, free: 25.6 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.3832, allocations: 0 / 0.5946 GB, free: 25.6 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002682/0.3835, allocations: 39.67 kB / 0.5947 GB, free: 25.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002354/0.3858, allocations: 0.6242 MB / 0.5953 GB, free: 25.46 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.224e-05/0.3859, allocations: 11.19 kB / 0.5953 GB, free: 25.45 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003968/0.3899, allocations: 2.556 MB / 0.5978 GB, free: 23.61 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3899, allocations: 0 / 0.5978 GB, free: 23.61 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004453/0.3943, allocations: 1.577 MB / 0.5993 GB, free: 23.03 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001279/0.3945, allocations: 125.3 kB / 0.5995 GB, free: 22.91 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.16e-05/0.3946, allocations: 14.69 kB / 0.5995 GB, free: 22.89 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004908/0.3951, allocations: 30.95 kB / 0.5995 GB, free: 22.89 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002589/0.3953, allocations: 87.94 kB / 0.5996 GB, free: 22.87 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.263e-05/0.3954, allocations: 7.406 kB / 0.5996 GB, free: 22.87 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000364/0.3957, allocations: 294.3 kB / 0.5999 GB, free: 22.71 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3957, allocations: 0 / 0.5999 GB, free: 22.71 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005791/0.3963, allocations: 140.4 kB / 0.6 GB, free: 22.7 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.004698/0.401, allocations: 2.137 MB / 0.6021 GB, free: 21.57 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002885/0.4039, allocations: 1.094 MB / 0.6032 GB, free: 21 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.404, allocations: 0 / 0.6032 GB, free: 21 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001797/0.4058, allocations: 0.7248 MB / 0.6039 GB, free: 20.55 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000406/0.4062, allocations: 35.42 kB / 0.6039 GB, free: 20.53 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01294/0.4191, allocations: 5.715 MB / 0.6095 GB, free: 17.73 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003085/0.4195, allocations: 0.8213 MB / 0.6103 GB, free: 17.02 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001383/0.4196, allocations: 26.92 kB / 0.6103 GB, free: 17.02 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001886/0.4198, allocations: 136.8 kB / 0.6104 GB, free: 16.91 MB / 430.1 MB Notification: Performance of SimCode: time 8.92e-07/0.4198, allocations: 0 / 0.6104 GB, free: 16.91 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03555/0.4554, allocations: 12.03 MB / 0.6222 GB, free: 10.12 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.54, allocations: 9.766 kB / 0.6222 GB, free: 10.11 MB / 430.1 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_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_dev_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_SIMBOpenline_Test.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe 2>&1)