Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) 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 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_InductiveMotorI_SIMBOpenline_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_2_0_0_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/Modelica_Synchronous 0.93.0/package.mo): time 0.0871/0.0871, allocations: 12.19 MB / 27.43 MB, free: 1.379 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001097/0.001096, allocations: 119.4 kB / 30.94 MB, free: 4.656 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.509/1.509, allocations: 205.1 MB / 239.4 MB, free: 10.92 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002277/0.002277, allocations: 184.5 kB / 289.6 MB, free: 15.86 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.5053/0.5053, allocations: 78.49 MB / 418.1 MB, free: 31.73 MB / 318.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002967/0.002967, allocations: 131.8 kB / 498.5 MB, free: 432 kB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4658/0.4688, allocations: 68.03 MB / 0.5533 GB, free: 37.88 MB / 414.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test): time 0.004271/0.4732, allocations: 2.941 MB / 0.5561 GB, free: 35.75 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001646/0.4748, allocations: 0.9534 MB / 0.5571 GB, free: 35.07 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000136/0.475, allocations: 5.031 kB / 0.5571 GB, free: 35.07 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003349/0.4753, allocations: 72.11 kB / 0.5571 GB, free: 35.04 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002437/0.4756, allocations: 98.73 kB / 0.5572 GB, free: 34.97 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008652/0.4765, allocations: 426.6 kB / 0.5576 GB, free: 34.71 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003654/0.4768, allocations: 419.2 kB / 0.558 GB, free: 34.5 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001873/0.4771, allocations: 103.3 kB / 0.5581 GB, free: 34.46 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000142/0.4772, allocations: 171.3 kB / 0.5583 GB, free: 34.37 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002772/0.4775, allocations: 227.1 kB / 0.5585 GB, free: 34.26 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.248e-05/0.4775, allocations: 32 kB / 0.5585 GB, free: 34.26 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001579/0.4777, allocations: 89.88 kB / 0.5586 GB, free: 34.24 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.946e-05/0.4778, allocations: 87.09 kB / 0.5587 GB, free: 34.18 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001363/0.4779, allocations: 188.9 kB / 0.5589 GB, free: 34.06 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004536/0.4784, allocations: 495.4 kB / 0.5594 GB, free: 33.84 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/0.4784, allocations: 0 / 0.5594 GB, free: 33.84 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.4784, allocations: 4 kB / 0.5594 GB, free: 33.83 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.806e-06/0.4784, allocations: 0 / 0.5594 GB, free: 33.83 MB / 414.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.002831/0.4813, allocations: 1.02 MB / 0.5604 GB, free: 33.24 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.4813, allocations: 12.92 kB / 0.5604 GB, free: 33.23 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.756e-05/0.4814, allocations: 61.98 kB / 0.5604 GB, free: 33.18 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001484/0.4829, allocations: 257.4 kB / 0.5607 GB, free: 33.13 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004091/0.4833, allocations: 348.7 kB / 0.561 GB, free: 32.84 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001221/0.4834, allocations: 85.58 kB / 0.5611 GB, free: 32.76 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.849e-05/0.4835, allocations: 27.88 kB / 0.5611 GB, free: 32.75 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000701/0.4842, allocations: 367.2 kB / 0.5615 GB, free: 32.6 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.4842, allocations: 0 / 0.5615 GB, free: 32.6 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.452e-05/0.4843, allocations: 11 kB / 0.5615 GB, free: 32.59 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.377e-06/0.4843, allocations: 5.781 kB / 0.5615 GB, free: 32.59 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006905/0.485, allocations: 366.4 kB / 0.5618 GB, free: 32.47 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001714/0.4867, allocations: 1.034 MB / 0.5629 GB, free: 31.88 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006262/0.493, allocations: 1.35 MB / 0.5642 GB, free: 31.67 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004803/0.4935, allocations: 256.9 kB / 0.5644 GB, free: 31.57 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.15e-05/0.4935, allocations: 12.83 kB / 0.5644 GB, free: 31.57 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/0.4936, allocations: 38.56 kB / 0.5645 GB, free: 31.52 MB / 414.1 MB Notification: Performance of pre-optimization done (n=31): time 1.753e-06/0.4936, allocations: 0 / 0.5645 GB, free: 31.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=31): time 0.006243/0.4998, allocations: 1.98 MB / 0.5664 GB, free: 30.82 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.346e-05/0.4999, allocations: 54.22 kB / 0.5664 GB, free: 30.76 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003435/0.5002, allocations: 319.2 kB / 0.5668 GB, free: 30.59 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.676e-05/0.5003, allocations: 32.73 kB / 0.5668 GB, free: 30.55 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001289/0.5004, allocations: 190.5 kB / 0.567 GB, free: 30.39 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001106/0.5005, allocations: 105.5 kB / 0.5671 GB, free: 30.31 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001375/0.5007, allocations: 58.7 kB / 0.5671 GB, free: 30.27 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.5008, allocations: 347.9 kB / 0.5675 GB, free: 29.94 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004468/0.5012, allocations: 216.8 kB / 0.5677 GB, free: 29.86 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004441/0.5017, allocations: 226.9 kB / 0.5679 GB, free: 29.78 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008449/0.5025, allocations: 470.9 kB / 0.5683 GB, free: 29.58 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.5025, allocations: 2.625 kB / 0.5683 GB, free: 29.58 MB / 414.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.003757/0.5063, allocations: 1.245 MB / 0.5695 GB, free: 29.23 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/0.5063, allocations: 12.09 kB / 0.5696 GB, free: 29.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.5064, allocations: 0 / 0.5696 GB, free: 29.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002959/0.5093, allocations: 0.7677 MB / 0.5703 GB, free: 29.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001785/0.5095, allocations: 30.8 kB / 0.5703 GB, free: 29.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00583/0.5154, allocations: 3.124 MB / 0.5734 GB, free: 26.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004962/0.5159, allocations: 53.73 kB / 0.5734 GB, free: 26.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.732e-05/0.5159, allocations: 13.28 kB / 0.5735 GB, free: 26.95 MB / 414.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.0002113/0.5161, allocations: 152.1 kB / 0.5736 GB, free: 26.8 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.46e-05/0.5162, allocations: 32.09 kB / 0.5736 GB, free: 26.79 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004431/0.5207, allocations: 1.206 MB / 0.5748 GB, free: 26.44 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/0.5207, allocations: 7.391 kB / 0.5748 GB, free: 26.43 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.5207, allocations: 6.125 kB / 0.5748 GB, free: 26.43 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.5207, allocations: 2.156 kB / 0.5748 GB, free: 26.43 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008228/0.5215, allocations: 0.5269 MB / 0.5753 GB, free: 26.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.5216, allocations: 4.547 kB / 0.5753 GB, free: 26.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000215/0.5218, allocations: 32.56 kB / 0.5754 GB, free: 26.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002798/0.5246, allocations: 0.6733 MB / 0.576 GB, free: 25.94 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.902e-05/0.5246, allocations: 6.062 kB / 0.576 GB, free: 25.94 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004702/0.5293, allocations: 2.684 MB / 0.5787 GB, free: 24.03 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.5294, allocations: 0 / 0.5787 GB, free: 24.03 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004887/0.5343, allocations: 1.579 MB / 0.5802 GB, free: 23.45 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001196/0.5344, allocations: 114.8 kB / 0.5803 GB, free: 23.33 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.679e-05/0.5345, allocations: 6.922 kB / 0.5803 GB, free: 23.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004083/0.5349, allocations: 35.53 kB / 0.5803 GB, free: 23.32 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002883/0.5352, allocations: 89.06 kB / 0.5804 GB, free: 23.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.348e-05/0.5352, allocations: 6.156 kB / 0.5804 GB, free: 23.29 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000336/0.5355, allocations: 237.1 kB / 0.5807 GB, free: 23.16 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5355, allocations: 0 / 0.5807 GB, free: 23.16 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008194/0.5364, allocations: 137 kB / 0.5808 GB, free: 23.14 MB / 414.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.005259/0.5416, allocations: 2.139 MB / 0.5829 GB, free: 22.02 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00285/0.5445, allocations: 0.9928 MB / 0.5839 GB, free: 21.47 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.5445, allocations: 0 / 0.5839 GB, free: 21.47 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001762/0.5463, allocations: 0.7089 MB / 0.5845 GB, free: 21.03 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004074/0.5467, allocations: 31.11 kB / 0.5846 GB, free: 21.01 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01785/0.5646, allocations: 5.783 MB / 0.5902 GB, free: 17.94 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003574/0.565, allocations: 0.797 MB / 0.591 GB, free: 17.19 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001134/0.5651, allocations: 19.05 kB / 0.591 GB, free: 17.18 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001695/0.5653, allocations: 113.3 kB / 0.5911 GB, free: 17.09 MB / 414.1 MB Notification: Performance of SimCode: time 1.182e-06/0.5653, allocations: 0 / 0.5911 GB, free: 17.09 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04164/0.6069, allocations: 10.94 MB / 0.6018 GB, free: 8.418 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002333/0.6072, allocations: 256.2 kB / 0.6021 GB, free: 8.152 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.386/2.993, allocations: 0 / 0.6021 GB, free: 8.152 MB / 414.1 MB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_InductiveMotorI_SIMBOpenline_Test_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_InductiveMotorI_SIMBOpenline_Test.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe 2>&1)