Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_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.InductiveMotorIII_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_SIMBOpenline_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_2_0_0_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/Modelica_Synchronous 0.93.0/package.mo): time 0.1154/0.1154, allocations: 12.2 MB / 27.17 MB, free: 1.922 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.0008283/0.0008284, allocations: 105.8 kB / 30.68 MB, free: 4.996 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.803/1.803, allocations: 205.4 MB / 239.5 MB, free: 11.59 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.001178/0.001178, allocations: 180.5 kB / 290.6 MB, free: 13.42 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.5912/0.5912, allocations: 78.53 MB / 420.1 MB, free: 48.64 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.0009365/0.0009367, allocations: 31.94 kB / 0.4895 GB, free: 2.508 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5316/0.5326, allocations: 69.22 MB / 0.5571 GB, free: 43.14 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test): time 0.00361/0.5362, allocations: 2.621 MB / 0.5597 GB, free: 42.98 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00203/0.5383, allocations: 0.9473 MB / 0.5606 GB, free: 42.66 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001629/0.5385, allocations: 4.594 kB / 0.5606 GB, free: 42.66 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002986/0.5388, allocations: 65.48 kB / 0.5607 GB, free: 42.64 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003896/0.5392, allocations: 125.8 kB / 0.5608 GB, free: 42.58 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009187/0.5401, allocations: 377.5 kB / 0.5612 GB, free: 42.4 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005594/0.5407, allocations: 462.8 kB / 0.5616 GB, free: 42.17 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002273/0.5409, allocations: 81.52 kB / 0.5617 GB, free: 42.14 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002938/0.5412, allocations: 184.9 kB / 0.5619 GB, free: 42.07 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004669/0.5417, allocations: 245 kB / 0.5621 GB, free: 41.97 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.393e-05/0.5418, allocations: 23.69 kB / 0.5621 GB, free: 41.97 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002147/0.542, allocations: 74.83 kB / 0.5622 GB, free: 41.96 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001159/0.5421, allocations: 89.25 kB / 0.5623 GB, free: 41.91 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 9.354e-05/0.5422, allocations: 89.86 kB / 0.5624 GB, free: 41.84 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007074/0.5429, allocations: 424.3 kB / 0.5628 GB, free: 41.75 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.5429, allocations: 1.281 kB / 0.5628 GB, free: 41.75 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.5429, allocations: 0 / 0.5628 GB, free: 41.75 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.945e-06/0.543, allocations: 0 / 0.5628 GB, free: 41.75 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.003323/0.5463, allocations: 1.074 MB / 0.5638 GB, free: 41.18 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/0.5463, allocations: 14.02 kB / 0.5638 GB, free: 41.18 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.944e-05/0.5464, allocations: 65.69 kB / 0.5639 GB, free: 41.12 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001571/0.548, allocations: 269.9 kB / 0.5642 GB, free: 41.07 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005613/0.5486, allocations: 396.5 kB / 0.5645 GB, free: 40.76 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001228/0.5487, allocations: 89.88 kB / 0.5646 GB, free: 40.69 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.127e-05/0.5488, allocations: 24.97 kB / 0.5646 GB, free: 40.68 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009011/0.5497, allocations: 425 kB / 0.5651 GB, free: 40.52 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.5497, allocations: 1.547 kB / 0.5651 GB, free: 40.52 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.218e-05/0.5498, allocations: 10.84 kB / 0.5651 GB, free: 40.51 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.192e-05/0.5498, allocations: 11.28 kB / 0.5651 GB, free: 40.5 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008697/0.5507, allocations: 415.4 kB / 0.5655 GB, free: 40.37 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002159/0.5529, allocations: 1.118 MB / 0.5666 GB, free: 39.77 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006483/0.5593, allocations: 1.848 MB / 0.5684 GB, free: 39.49 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005126/0.5599, allocations: 299.8 kB / 0.5687 GB, free: 39.38 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.663e-05/0.56, allocations: 9.469 kB / 0.5687 GB, free: 39.38 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.56, allocations: 37.8 kB / 0.5687 GB, free: 39.34 MB / 430.1 MB Notification: Performance of pre-optimization done (n=35): time 2.284e-06/0.56, allocations: 3.938 kB / 0.5687 GB, free: 39.33 MB / 430.1 MB Notification: Performance of matching and sorting (n=35): time 0.005946/0.5659, allocations: 2.367 MB / 0.571 GB, free: 38.58 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.12e-05/0.566, allocations: 54.41 kB / 0.5711 GB, free: 38.52 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005462/0.5665, allocations: 407.3 kB / 0.5715 GB, free: 38.31 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.444e-05/0.5666, allocations: 29.7 kB / 0.5715 GB, free: 38.27 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/0.5667, allocations: 209.1 kB / 0.5717 GB, free: 38.1 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001133/0.5668, allocations: 120.8 kB / 0.5718 GB, free: 38 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.64e-05/0.5669, allocations: 8 kB / 0.5718 GB, free: 38 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.977e-05/0.567, allocations: 348.6 kB / 0.5721 GB, free: 37.67 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004801/0.5675, allocations: 252.3 kB / 0.5724 GB, free: 37.59 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005113/0.568, allocations: 257.8 kB / 0.5726 GB, free: 37.5 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004898/0.5685, allocations: 260.9 kB / 0.5729 GB, free: 37.41 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.5685, allocations: 0 / 0.5729 GB, free: 37.41 MB / 430.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003621/0.5721, allocations: 1.523 MB / 0.5744 GB, free: 37.01 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.5722, allocations: 5.938 kB / 0.5744 GB, free: 37.01 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.5722, allocations: 0 / 0.5744 GB, free: 37.01 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002696/0.5749, allocations: 0.9028 MB / 0.5753 GB, free: 36.83 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001896/0.5751, allocations: 32.55 kB / 0.5753 GB, free: 36.83 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004753/0.5798, allocations: 3.032 MB / 0.5782 GB, free: 34.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004935/0.5803, allocations: 62.23 kB / 0.5783 GB, free: 34.9 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.049e-05/0.5804, allocations: 12.97 kB / 0.5783 GB, free: 34.9 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 {7 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002241/0.5806, allocations: 162.1 kB / 0.5785 GB, free: 34.75 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001225/0.5808, allocations: 37.03 kB / 0.5785 GB, free: 34.73 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003399/0.5842, allocations: 1.45 MB / 0.5799 GB, free: 34.34 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.5842, allocations: 6.578 kB / 0.5799 GB, free: 34.34 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.094e-05/0.5842, allocations: 2.625 kB / 0.5799 GB, free: 34.34 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.5842, allocations: 7.172 kB / 0.5799 GB, free: 34.34 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006309/0.5848, allocations: 0.5281 MB / 0.5805 GB, free: 34.01 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.381e-06/0.5849, allocations: 2.625 kB / 0.5805 GB, free: 34.01 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002392/0.5851, allocations: 35.44 kB / 0.5805 GB, free: 34.01 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002043/0.5872, allocations: 0.7443 MB / 0.5812 GB, free: 33.87 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.329e-05/0.5872, allocations: 11.94 kB / 0.5812 GB, free: 33.86 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00355/0.5908, allocations: 2.529 MB / 0.5837 GB, free: 32.15 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/0.5908, allocations: 0 / 0.5837 GB, free: 32.15 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00396/0.5948, allocations: 1.85 MB / 0.5855 GB, free: 31.54 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000147/0.5949, allocations: 125.5 kB / 0.5856 GB, free: 31.41 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.733e-05/0.595, allocations: 10.69 kB / 0.5856 GB, free: 31.4 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004335/0.5954, allocations: 43.53 kB / 0.5857 GB, free: 31.4 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002223/0.5957, allocations: 82.78 kB / 0.5858 GB, free: 31.39 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-05/0.5957, allocations: 13.84 kB / 0.5858 GB, free: 31.39 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003514/0.5961, allocations: 288.9 kB / 0.586 GB, free: 31.23 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.5961, allocations: 1.281 kB / 0.586 GB, free: 31.23 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000616/0.5967, allocations: 141.3 kB / 0.5862 GB, free: 31.21 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 (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.004234/0.6009, allocations: 2.388 MB / 0.5885 GB, free: 30.07 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002969/0.6039, allocations: 1.181 MB / 0.5897 GB, free: 29.5 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.6039, allocations: 1.219 kB / 0.5897 GB, free: 29.5 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001765/0.6057, allocations: 0.8107 MB / 0.5905 GB, free: 29.04 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005857/0.6063, allocations: 40.83 kB / 0.5905 GB, free: 29.02 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009576/0.6159, allocations: 3.906 MB / 0.5943 GB, free: 27.3 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005562/0.6165, allocations: 0.8112 MB / 0.5951 GB, free: 26.6 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002124/0.6167, allocations: 34.25 kB / 0.5951 GB, free: 26.59 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000267/0.617, allocations: 136.8 kB / 0.5953 GB, free: 26.49 MB / 430.1 MB Notification: Performance of SimCode: time 2.354e-06/0.617, allocations: 0 / 0.5953 GB, free: 26.49 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1626/0.7797, allocations: 10.88 MB / 0.6059 GB, free: 24.04 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001859/0.7799, allocations: 238.9 kB / 0.6061 GB, free: 23.8 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.061/2.841, allocations: 4 kB / 0.6061 GB, free: 23.8 MB / 430.1 MB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_SIMBOpenline_Test_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_SIMBOpenline_Test.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe 2>&1) Environment - environmentSimulation: