Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_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.InductiveMotorV_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_InductiveMotorV_SIMBOpenline_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_InductiveMotorV_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.1152/0.1152, allocations: 12.2 MB / 27.17 MB, free: 1.473 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.0008066/0.0008067, allocations: 104.5 kB / 30.68 MB, free: 4.852 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.778/1.778, allocations: 205.4 MB / 239.5 MB, free: 11.55 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.001216/0.001216, allocations: 187.5 kB / 290.6 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.5527/0.5527, allocations: 78.53 MB / 420.1 MB, free: 48.68 MB / 334.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.0008915/0.0008916, allocations: 28 kB / 0.4896 GB, free: 2.508 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5247/0.5256, allocations: 69.22 MB / 0.5571 GB, free: 43.14 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test): time 0.003623/0.5293, allocations: 2.681 MB / 0.5598 GB, free: 42.98 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00192/0.5312, allocations: 0.9649 MB / 0.5607 GB, free: 42.62 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001639/0.5314, allocations: 2.969 kB / 0.5607 GB, free: 42.62 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003046/0.5317, allocations: 74.42 kB / 0.5608 GB, free: 42.59 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003683/0.5321, allocations: 126.9 kB / 0.5609 GB, free: 42.52 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00101/0.5331, allocations: 390.9 kB / 0.5613 GB, free: 42.33 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000677/0.5338, allocations: 485.1 kB / 0.5617 GB, free: 42.1 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002466/0.5341, allocations: 87.3 kB / 0.5618 GB, free: 42.07 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003054/0.5344, allocations: 191 kB / 0.562 GB, free: 41.99 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005072/0.5349, allocations: 260.5 kB / 0.5623 GB, free: 41.89 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.97e-05/0.535, allocations: 25.31 kB / 0.5623 GB, free: 41.89 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002461/0.5352, allocations: 75.78 kB / 0.5624 GB, free: 41.88 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001349/0.5354, allocations: 95.75 kB / 0.5624 GB, free: 41.83 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001044/0.5355, allocations: 96.7 kB / 0.5625 GB, free: 41.76 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007236/0.5362, allocations: 438.7 kB / 0.563 GB, free: 41.66 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.734e-06/0.5362, allocations: 1.703 kB / 0.563 GB, free: 41.66 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.5363, allocations: 0 / 0.563 GB, free: 41.66 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.5363, allocations: 0 / 0.563 GB, free: 41.66 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.003511/0.5398, allocations: 1.105 MB / 0.564 GB, free: 41.09 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.868e-05/0.5399, allocations: 12.77 kB / 0.564 GB, free: 41.08 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001041/0.54, allocations: 64.77 kB / 0.5641 GB, free: 41.02 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001592/0.5416, allocations: 276.1 kB / 0.5644 GB, free: 40.98 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006809/0.5423, allocations: 415.4 kB / 0.5648 GB, free: 40.66 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001309/0.5424, allocations: 88.72 kB / 0.5649 GB, free: 40.58 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.143e-05/0.5425, allocations: 26.28 kB / 0.5649 GB, free: 40.57 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000958/0.5435, allocations: 431.2 kB / 0.5653 GB, free: 40.41 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/0.5435, allocations: 2.641 kB / 0.5653 GB, free: 40.41 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.101e-05/0.5435, allocations: 10.34 kB / 0.5653 GB, free: 40.4 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.689e-05/0.5436, allocations: 9.969 kB / 0.5653 GB, free: 40.4 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009275/0.5445, allocations: 420.7 kB / 0.5657 GB, free: 40.26 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002364/0.5469, allocations: 1.157 MB / 0.5668 GB, free: 39.64 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006376/0.5533, allocations: 1.844 MB / 0.5686 GB, free: 39.36 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005413/0.5538, allocations: 305.6 kB / 0.5689 GB, free: 39.25 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.27e-05/0.5539, allocations: 2.812 kB / 0.5689 GB, free: 39.25 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.5539, allocations: 37.34 kB / 0.569 GB, free: 39.21 MB / 430.1 MB Notification: Performance of pre-optimization done (n=35): time 2.525e-06/0.5539, allocations: 0 / 0.569 GB, free: 39.21 MB / 430.1 MB Notification: Performance of matching and sorting (n=35): time 0.006161/0.5601, allocations: 2.393 MB / 0.5713 GB, free: 38.45 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.786e-05/0.5602, allocations: 61.75 kB / 0.5714 GB, free: 38.38 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006975/0.5609, allocations: 421.9 kB / 0.5718 GB, free: 38.16 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.079e-05/0.5609, allocations: 30.89 kB / 0.5718 GB, free: 38.13 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001422/0.5611, allocations: 221 kB / 0.572 GB, free: 37.94 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001284/0.5612, allocations: 123.6 kB / 0.5721 GB, free: 37.85 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.785e-05/0.5612, allocations: 5.375 kB / 0.5721 GB, free: 37.84 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.5614, allocations: 353.6 kB / 0.5725 GB, free: 37.51 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004862/0.5619, allocations: 263.1 kB / 0.5727 GB, free: 37.43 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004824/0.5623, allocations: 276.2 kB / 0.573 GB, free: 37.33 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004926/0.5628, allocations: 272.1 kB / 0.5732 GB, free: 37.22 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.5629, allocations: 0 / 0.5732 GB, free: 37.22 MB / 430.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.00411/0.567, allocations: 1.611 MB / 0.5748 GB, free: 36.8 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.636e-05/0.567, allocations: 5.375 kB / 0.5748 GB, free: 36.8 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/0.567, allocations: 0 / 0.5748 GB, free: 36.8 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003184/0.5702, allocations: 1.003 MB / 0.5758 GB, free: 36.62 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002315/0.5705, allocations: 46.56 kB / 0.5758 GB, free: 36.61 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005794/0.5763, allocations: 3.291 MB / 0.5791 GB, free: 34.59 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005916/0.5769, allocations: 65.98 kB / 0.5791 GB, free: 34.56 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.106e-05/0.577, allocations: 9.812 kB / 0.5791 GB, free: 34.56 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 (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {8 7} Notification: Performance of prepare postOptimizeDAE: time 0.000273/0.5772, allocations: 152.6 kB / 0.5793 GB, free: 34.42 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001567/0.5774, allocations: 43.69 kB / 0.5793 GB, free: 34.39 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003531/0.5809, allocations: 1.466 MB / 0.5808 GB, free: 34 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.206e-06/0.581, allocations: 5.219 kB / 0.5808 GB, free: 34 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.285e-05/0.581, allocations: 2.938 kB / 0.5808 GB, free: 34 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.086e-06/0.581, allocations: 7.328 kB / 0.5808 GB, free: 34 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007598/0.5818, allocations: 0.5465 MB / 0.5813 GB, free: 33.66 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.633e-06/0.5818, allocations: 3.938 kB / 0.5813 GB, free: 33.66 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000267/0.582, allocations: 45.31 kB / 0.5813 GB, free: 33.65 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002105/0.5842, allocations: 0.7509 MB / 0.5821 GB, free: 33.5 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.641e-05/0.5842, allocations: 6.156 kB / 0.5821 GB, free: 33.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003662/0.5879, allocations: 2.517 MB / 0.5845 GB, free: 31.8 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.5879, allocations: 2.531 kB / 0.5845 GB, free: 31.8 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004193/0.5921, allocations: 1.872 MB / 0.5864 GB, free: 31.18 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002319/0.5924, allocations: 126.6 kB / 0.5865 GB, free: 31.05 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001161/0.5925, allocations: 10.28 kB / 0.5865 GB, free: 31.05 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005157/0.593, allocations: 50.27 kB / 0.5866 GB, free: 31.04 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002829/0.5933, allocations: 85.72 kB / 0.5866 GB, free: 31.03 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.347e-05/0.5934, allocations: 12.53 kB / 0.5866 GB, free: 31.02 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004609/0.5938, allocations: 306.5 kB / 0.5869 GB, free: 30.86 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5938, allocations: 3.438 kB / 0.5869 GB, free: 30.86 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000778/0.5946, allocations: 151.6 kB / 0.5871 GB, free: 30.84 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (motorTypeI.s,motorTypeI.e1r,motorTypeI.e1m,motorTypeI.e2r,motorTypeI.e2m) * 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 (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004793/0.5994, allocations: 2.417 MB / 0.5894 GB, free: 29.68 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003235/0.6027, allocations: 1.218 MB / 0.5906 GB, free: 29.1 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.6027, allocations: 0 / 0.5906 GB, free: 29.1 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00183/0.6045, allocations: 0.8268 MB / 0.5914 GB, free: 28.62 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006308/0.6052, allocations: 34.16 kB / 0.5915 GB, free: 28.61 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01044/0.6156, allocations: 4.256 MB / 0.5956 GB, free: 26.7 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004889/0.6162, allocations: 0.8187 MB / 0.5964 GB, free: 26 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002245/0.6164, allocations: 29 kB / 0.5965 GB, free: 26 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002718/0.6167, allocations: 142.9 kB / 0.5966 GB, free: 25.89 MB / 430.1 MB Notification: Performance of SimCode: time 1.894e-06/0.6167, allocations: 5.156 kB / 0.5966 GB, free: 25.89 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2239/0.8406, allocations: 11.56 MB / 0.6079 GB, free: 22.79 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002926/0.8409, allocations: 242 kB / 0.6081 GB, free: 22.54 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.074/2.915, allocations: 3.375 kB / 0.6081 GB, free: 22.54 MB / 430.1 MB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_InductiveMotorV_SIMBOpenline_Test_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_InductiveMotorV_SIMBOpenline_Test.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe 2>&1) Environment - environmentSimulation: