Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.conf.json 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/Modelica 4.0.0+maint.om/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/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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 with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/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) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_SIMBOpenline_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_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/Complex 4.0.0+maint.om/package.mo): time 0.007602/0.007602, allocations: 169 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 223.2 MB / 239 MB, free: 1.805 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009262/0.0009259, allocations: 97.55 kB / 290.2 MB, free: 13.97 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5221/0.5221, allocations: 78.52 MB / 419.8 MB, free: 44.04 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004079/0.0004079, allocations: 12 kB / 499.8 MB, free: 2.668 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4436/0.4441, allocations: 69.35 MB / 0.5558 GB, free: 38.92 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.13/0.5741, allocations: 92.08 MB / 0.6457 GB, free: 14.31 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002231/0.5744, allocations: 75.95 kB / 0.6458 GB, free: 14.24 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02491/0.5993, allocations: 9.138 MB / 0.6547 GB, free: 5.086 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.395e-06/0.5994, allocations: 0 / 0.6547 GB, free: 5.086 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.21e-05/0.5994, allocations: 8 kB / 0.6547 GB, free: 5.078 MB / 458.7 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.002405/0.6018, allocations: 0.931 MB / 0.6556 GB, free: 4.098 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.6019, allocations: 8.031 kB / 0.6556 GB, free: 4.09 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001152/0.602, allocations: 62.53 kB / 0.6557 GB, free: 4.02 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00106/0.603, allocations: 187.3 kB / 0.6559 GB, free: 3.836 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006374/0.6037, allocations: 385.1 kB / 0.6563 GB, free: 3.418 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001307/0.6038, allocations: 87.95 kB / 0.6563 GB, free: 3.316 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.116e-05/0.6039, allocations: 28 kB / 0.6564 GB, free: 3.289 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008422/0.6048, allocations: 421 kB / 0.6568 GB, free: 2.871 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.6048, allocations: 3.938 kB / 0.6568 GB, free: 2.867 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.04e-05/0.6048, allocations: 11.98 kB / 0.6568 GB, free: 2.855 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/0.6049, allocations: 8 kB / 0.6568 GB, free: 2.848 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007905/0.6057, allocations: 418 kB / 0.6572 GB, free: 2.441 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002157/0.6078, allocations: 1.123 MB / 0.6583 GB, free: 1.266 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007184/0.615, allocations: 1.841 MB / 0.6601 GB, free: 15.41 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.384e-05/0.6151, allocations: 4 kB / 0.6601 GB, free: 15.41 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.387e-05/0.6152, allocations: 38.56 kB / 0.6601 GB, free: 15.36 MB / 474.7 MB Notification: Performance of pre-optimization done (n=35): time 2.575e-06/0.6152, allocations: 3.938 kB / 0.6601 GB, free: 15.36 MB / 474.7 MB Notification: Performance of matching and sorting (n=35): time 0.006771/0.622, allocations: 2.361 MB / 0.6624 GB, free: 12.93 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.405e-05/0.6221, allocations: 55.41 kB / 0.6625 GB, free: 12.86 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005477/0.6226, allocations: 364.8 kB / 0.6628 GB, free: 12.5 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.65e-05/0.6227, allocations: 33.7 kB / 0.6629 GB, free: 12.46 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001437/0.6228, allocations: 200.6 kB / 0.6631 GB, free: 12.26 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001303/0.623, allocations: 130.1 kB / 0.6632 GB, free: 12.13 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.164e-05/0.623, allocations: 8 kB / 0.6632 GB, free: 12.12 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.6231, allocations: 346.8 kB / 0.6635 GB, free: 11.78 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005283/0.6237, allocations: 256.5 kB / 0.6638 GB, free: 11.52 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004943/0.6242, allocations: 249.2 kB / 0.664 GB, free: 11.28 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005208/0.6247, allocations: 270.2 kB / 0.6643 GB, free: 11.02 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.6247, allocations: 0 / 0.6643 GB, free: 11.02 MB / 474.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.004283/0.629, allocations: 1.518 MB / 0.6657 GB, free: 9.484 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.629, allocations: 8 kB / 0.6657 GB, free: 9.477 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/0.6291, allocations: 0 / 0.6657 GB, free: 9.477 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003112/0.6322, allocations: 0.8961 MB / 0.6666 GB, free: 8.57 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000243/0.6324, allocations: 31.98 kB / 0.6667 GB, free: 8.539 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005998/0.6384, allocations: 3.15 MB / 0.6697 GB, free: 5.262 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005742/0.639, allocations: 68.38 kB / 0.6698 GB, free: 5.195 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.68e-05/0.6391, allocations: 12 kB / 0.6698 GB, free: 5.184 MB / 474.7 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.0002714/0.6394, allocations: 149.8 kB / 0.6699 GB, free: 5.027 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001205/0.6395, allocations: 39.53 kB / 0.67 GB, free: 4.988 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00388/0.6434, allocations: 1.452 MB / 0.6714 GB, free: 3.516 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.203e-06/0.6434, allocations: 4 kB / 0.6714 GB, free: 3.512 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.6434, allocations: 0 / 0.6714 GB, free: 3.512 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/0.6434, allocations: 3.984 kB / 0.6714 GB, free: 3.508 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006991/0.6441, allocations: 0.536 MB / 0.6719 GB, free: 2.922 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/0.6442, allocations: 0 / 0.6719 GB, free: 2.922 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002698/0.6444, allocations: 39.88 kB / 0.672 GB, free: 2.883 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002273/0.6467, allocations: 0.7479 MB / 0.6727 GB, free: 2.125 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.426e-05/0.6468, allocations: 12 kB / 0.6727 GB, free: 2.113 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004449/0.6512, allocations: 2.602 MB / 0.6753 GB, free: 15.38 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.6513, allocations: 3.938 kB / 0.6753 GB, free: 15.38 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004699/0.656, allocations: 1.844 MB / 0.6771 GB, free: 13.5 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002745/0.6563, allocations: 124.5 kB / 0.6772 GB, free: 13.36 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001102/0.6564, allocations: 8 kB / 0.6772 GB, free: 13.36 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005094/0.6569, allocations: 47.95 kB / 0.6772 GB, free: 13.31 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002381/0.6572, allocations: 83.84 kB / 0.6773 GB, free: 13.23 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.64e-05/0.6572, allocations: 11.95 kB / 0.6773 GB, free: 13.21 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003953/0.6576, allocations: 291.2 kB / 0.6776 GB, free: 12.93 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.6576, allocations: 4 kB / 0.6776 GB, free: 12.93 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0006515/0.6583, allocations: 155.8 kB / 0.6778 GB, free: 12.78 MB / 490.7 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.005096/0.6634, allocations: 2.405 MB / 0.6801 GB, free: 10.33 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002868/0.6663, allocations: 1.177 MB / 0.6813 GB, free: 9.102 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.6663, allocations: 0 / 0.6813 GB, free: 9.102 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00175/0.6681, allocations: 0.8187 MB / 0.6821 GB, free: 8.227 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000336/0.6684, allocations: 24.86 kB / 0.6821 GB, free: 8.203 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008231/0.6766, allocations: 3.922 MB / 0.6859 GB, free: 4.223 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003787/0.6771, allocations: 0.8188 MB / 0.6867 GB, free: 3.379 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001435/0.6772, allocations: 26.98 kB / 0.6867 GB, free: 3.355 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002124/0.6774, allocations: 131.4 kB / 0.6869 GB, free: 3.227 MB / 490.7 MB Notification: Performance of SimCode: time 1.322e-06/0.6774, allocations: 0 / 0.6869 GB, free: 3.227 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02738/0.7048, allocations: 10.94 MB / 0.6975 GB, free: 8.516 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002342/0.7051, allocations: 223.8 kB / 0.6978 GB, free: 8.273 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.403/3.108, allocations: 0 / 0.6978 GB, free: 8.273 MB / 0.4948 GB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_SIMBOpenline_Test_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_SIMBOpenline_Test.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe 2>&1)