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.0008986/0.0008988, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.533/1.533, allocations: 223.3 MB / 239.4 MB, free: 5.484 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.001336/0.001336, allocations: 176.4 kB / 290.6 MB, free: 2.152 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5904/0.5904, allocations: 91.92 MB / 433.7 MB, free: 10.27 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000395/0.0003951, allocations: 12 kB / 0.5049 GB, free: 7.164 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.426/0.4264, allocations: 72.47 MB / 0.5756 GB, free: 36.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test): time 0.002468/0.4289, allocations: 2.584 MB / 0.5782 GB, free: 35.22 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001281/0.4302, allocations: 0.8983 MB / 0.579 GB, free: 34.59 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000112/0.4303, allocations: 3.5 kB / 0.579 GB, free: 34.59 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002487/0.4306, allocations: 72.42 kB / 0.5791 GB, free: 34.56 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002381/0.4308, allocations: 108.6 kB / 0.5792 GB, free: 34.48 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007905/0.4316, allocations: 416.3 kB / 0.5796 GB, free: 34.24 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003314/0.432, allocations: 401.1 kB / 0.58 GB, free: 34.05 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001739/0.4322, allocations: 79.94 kB / 0.5801 GB, free: 34.01 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001249/0.4323, allocations: 145.5 kB / 0.5802 GB, free: 33.94 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002637/0.4326, allocations: 219.2 kB / 0.5804 GB, free: 33.84 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.044e-05/0.4326, allocations: 19.03 kB / 0.5804 GB, free: 33.84 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001441/0.4328, allocations: 71.14 kB / 0.5805 GB, free: 33.82 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.276e-05/0.4328, allocations: 63.84 kB / 0.5806 GB, free: 33.79 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001355/0.433, allocations: 203.1 kB / 0.5808 GB, free: 33.64 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003879/0.4333, allocations: 467.7 kB / 0.5812 GB, free: 33.47 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.4334, allocations: 4.125 kB / 0.5812 GB, free: 33.47 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.305e-06/0.4334, allocations: 0 / 0.5812 GB, free: 33.47 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.4334, allocations: 3.938 kB / 0.5812 GB, free: 33.46 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.002633/0.436, allocations: 0.9769 MB / 0.5822 GB, free: 32.92 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.4361, allocations: 11.56 kB / 0.5822 GB, free: 32.92 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.093e-05/0.4361, allocations: 59.28 kB / 0.5822 GB, free: 32.86 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001522/0.4377, allocations: 270.7 kB / 0.5825 GB, free: 32.82 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000366/0.4381, allocations: 339.8 kB / 0.5828 GB, free: 32.52 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001068/0.4382, allocations: 93.72 kB / 0.5829 GB, free: 32.45 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.957e-05/0.4382, allocations: 22.81 kB / 0.5829 GB, free: 32.44 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007385/0.439, allocations: 393.3 kB / 0.5833 GB, free: 32.29 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.439, allocations: 0 / 0.5833 GB, free: 32.29 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.585e-05/0.439, allocations: 8.938 kB / 0.5833 GB, free: 32.29 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.269e-05/0.4391, allocations: 8.094 kB / 0.5833 GB, free: 32.29 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007304/0.4398, allocations: 388.6 kB / 0.5837 GB, free: 32.17 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001757/0.4416, allocations: 1.059 MB / 0.5847 GB, free: 31.58 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007077/0.4487, allocations: 1.821 MB / 0.5865 GB, free: 31.32 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006366/0.4493, allocations: 285.5 kB / 0.5868 GB, free: 31.21 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.899e-05/0.4494, allocations: 3.906 kB / 0.5868 GB, free: 31.21 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/0.4494, allocations: 35.62 kB / 0.5868 GB, free: 31.17 MB / 430.1 MB Notification: Performance of pre-optimization done (n=31): time 4.008e-06/0.4494, allocations: 0.9688 kB / 0.5868 GB, free: 31.17 MB / 430.1 MB Notification: Performance of matching and sorting (n=31): time 0.007661/0.4571, allocations: 2.406 MB / 0.5892 GB, free: 30.41 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.894e-05/0.4572, allocations: 58.62 kB / 0.5892 GB, free: 30.35 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003846/0.4576, allocations: 316.6 kB / 0.5895 GB, free: 30.18 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.68e-05/0.4576, allocations: 36.48 kB / 0.5896 GB, free: 30.14 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/0.4578, allocations: 189.5 kB / 0.5897 GB, free: 29.98 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001132/0.4579, allocations: 98.22 kB / 0.5898 GB, free: 29.91 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.892e-05/0.4579, allocations: 29.97 kB / 0.5899 GB, free: 29.88 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.247e-05/0.458, allocations: 352 kB / 0.5902 GB, free: 29.55 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005539/0.4586, allocations: 242.1 kB / 0.5904 GB, free: 29.47 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005392/0.4591, allocations: 242 kB / 0.5907 GB, free: 29.39 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001111/0.4603, allocations: 0.5126 MB / 0.5912 GB, free: 29.18 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.4603, allocations: 0 / 0.5912 GB, free: 29.18 MB / 430.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.00488/0.4652, allocations: 1.496 MB / 0.5926 GB, free: 28.8 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.824e-05/0.4652, allocations: 10.31 kB / 0.5926 GB, free: 28.8 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.4652, allocations: 0 / 0.5926 GB, free: 28.8 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003488/0.4687, allocations: 0.8834 MB / 0.5935 GB, free: 28.63 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002268/0.469, allocations: 34.14 kB / 0.5935 GB, free: 28.62 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005717/0.4747, allocations: 3.063 MB / 0.5965 GB, free: 26.67 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005972/0.4753, allocations: 69.3 kB / 0.5966 GB, free: 26.65 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.183e-05/0.4754, allocations: 5.281 kB / 0.5966 GB, free: 26.65 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.0001984/0.4756, allocations: 139.8 kB / 0.5967 GB, free: 26.52 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.972e-05/0.4757, allocations: 36.62 kB / 0.5968 GB, free: 26.5 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004406/0.4801, allocations: 1.462 MB / 0.5982 GB, free: 26.1 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.4801, allocations: 3.25 kB / 0.5982 GB, free: 26.1 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.4801, allocations: 2.531 kB / 0.5982 GB, free: 26.1 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.4801, allocations: 2.766 kB / 0.5982 GB, free: 26.1 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006349/0.4808, allocations: 0.5114 MB / 0.5987 GB, free: 25.78 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.4808, allocations: 0 / 0.5987 GB, free: 25.78 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002097/0.481, allocations: 28.17 kB / 0.5987 GB, free: 25.78 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002935/0.4839, allocations: 0.7993 MB / 0.5995 GB, free: 25.62 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.152e-05/0.484, allocations: 15.02 kB / 0.5995 GB, free: 25.61 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004427/0.4884, allocations: 2.641 MB / 0.6021 GB, free: 23.82 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.4884, allocations: 0 / 0.6021 GB, free: 23.82 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005091/0.4935, allocations: 1.839 MB / 0.6039 GB, free: 23.22 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001596/0.4937, allocations: 122.1 kB / 0.604 GB, free: 23.09 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.008e-05/0.4938, allocations: 9.656 kB / 0.604 GB, free: 23.09 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004362/0.4942, allocations: 53.62 kB / 0.6041 GB, free: 23.07 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002793/0.4945, allocations: 83.06 kB / 0.6041 GB, free: 23.06 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.811e-05/0.4946, allocations: 5.438 kB / 0.6041 GB, free: 23.06 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002758/0.4948, allocations: 229.5 kB / 0.6044 GB, free: 22.94 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4948, allocations: 4 kB / 0.6044 GB, free: 22.94 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005784/0.4954, allocations: 141 kB / 0.6045 GB, free: 22.92 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.005318/0.5008, allocations: 2.394 MB / 0.6068 GB, free: 21.77 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002867/0.5036, allocations: 1.09 MB / 0.6079 GB, free: 21.22 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.5037, allocations: 0 / 0.6079 GB, free: 21.22 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001922/0.5056, allocations: 0.8053 MB / 0.6087 GB, free: 20.75 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004818/0.5061, allocations: 42.3 kB / 0.6087 GB, free: 20.72 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01888/0.525, allocations: 6.308 MB / 0.6149 GB, free: 18 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002922/0.5253, allocations: 0.788 MB / 0.6157 GB, free: 17.3 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001221/0.5255, allocations: 20.2 kB / 0.6157 GB, free: 17.3 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001596/0.5256, allocations: 109.4 kB / 0.6158 GB, free: 17.21 MB / 430.1 MB Notification: Performance of SimCode: time 9.01e-07/0.5256, allocations: 4.938 kB / 0.6158 GB, free: 17.21 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.023/0.5486, allocations: 10.28 MB / 0.6258 GB, free: 9.652 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001528/0.5488, allocations: 251.8 kB / 0.6261 GB, free: 9.398 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.058/2.607, allocations: 0 / 0.6261 GB, free: 9.398 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_InductiveMotorI_SIMBOpenline_Test_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_InductiveMotorI_SIMBOpenline_Test.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe 2>&1)