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/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.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 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.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/Complex 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 180.9 kB / 7.65 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 221.5 MB / 229.6 MB, free: 7.523 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.0008772/0.0008775, allocations: 94.25 kB / 280.5 MB, free: 5.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4789/0.4789, allocations: 78.94 MB / 410.2 MB, free: 6.016 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.086e-05/2.077e-05, allocations: 4 kB / 486 MB, free: 11.42 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1439, allocations: 69.52 MB / 0.5425 GB, free: 5.797 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4266/0.5705, allocations: 91.37 MB / 0.6318 GB, free: 6.578 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002454/0.5708, allocations: 71.95 kB / 0.6318 GB, free: 6.508 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02169/0.5925, allocations: 7.974 MB / 0.6396 GB, free: 14.66 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.5925, allocations: 0 / 0.6396 GB, free: 14.66 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.088e-05/0.5926, allocations: 8.875 kB / 0.6396 GB, free: 14.66 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001845/0.5944, allocations: 0.7734 MB / 0.6404 GB, free: 13.85 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.765e-05/0.5945, allocations: 12.66 kB / 0.6404 GB, free: 13.84 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001021/0.5955, allocations: 174.2 kB / 0.6406 GB, free: 13.67 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005273/0.5961, allocations: 328.9 kB / 0.6409 GB, free: 13.31 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001215/0.5962, allocations: 79.95 kB / 0.6409 GB, free: 13.22 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.681e-05/0.5963, allocations: 15.91 kB / 0.641 GB, free: 13.21 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005133/0.5968, allocations: 295 kB / 0.6412 GB, free: 12.92 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005134/0.5973, allocations: 280.1 kB / 0.6415 GB, free: 12.64 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.5973, allocations: 0 / 0.6415 GB, free: 12.64 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.63e-05/0.5974, allocations: 3.953 kB / 0.6415 GB, free: 12.63 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.5974, allocations: 8 kB / 0.6415 GB, free: 12.62 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001939/0.5993, allocations: 0.9898 MB / 0.6425 GB, free: 11.6 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006818/0.6062, allocations: 1.69 MB / 0.6441 GB, free: 9.898 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003862/0.6066, allocations: 194.7 kB / 0.6443 GB, free: 9.707 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.252e-05/0.6067, allocations: 4 kB / 0.6443 GB, free: 9.703 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.047e-05/0.6067, allocations: 46.52 kB / 0.6444 GB, free: 9.648 MB / 458.7 MB Notification: Performance of pre-optimization done (n=31): time 2.965e-06/0.6067, allocations: 0 / 0.6444 GB, free: 9.648 MB / 458.7 MB Notification: Performance of matching and sorting (n=31): time 0.003526/0.6103, allocations: 1.144 MB / 0.6455 GB, free: 8.488 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.474e-05/0.6103, allocations: 55.41 kB / 0.6455 GB, free: 8.422 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003768/0.6107, allocations: 273.1 kB / 0.6458 GB, free: 8.145 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.975e-05/0.6108, allocations: 25.7 kB / 0.6458 GB, free: 8.113 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001234/0.6109, allocations: 184.4 kB / 0.646 GB, free: 7.93 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001143/0.611, allocations: 107.2 kB / 0.6461 GB, free: 7.824 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.457e-05/0.611, allocations: 0 / 0.6461 GB, free: 7.824 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.6112, allocations: 346.8 kB / 0.6464 GB, free: 7.477 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002388/0.6114, allocations: 156.6 kB / 0.6466 GB, free: 7.32 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002463/0.6117, allocations: 156.8 kB / 0.6467 GB, free: 7.168 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002575/0.612, allocations: 177.9 kB / 0.6469 GB, free: 6.996 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.612, allocations: 0 / 0.6469 GB, free: 6.996 MB / 458.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.003663/0.6156, allocations: 1.234 MB / 0.6481 GB, free: 5.746 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.609e-05/0.6157, allocations: 4.656 kB / 0.6481 GB, free: 5.742 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.6157, allocations: 0 / 0.6481 GB, free: 5.742 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002757/0.6185, allocations: 0.7245 MB / 0.6488 GB, free: 5.008 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002205/0.6187, allocations: 25.61 kB / 0.6488 GB, free: 4.984 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004116/0.6228, allocations: 2.579 MB / 0.6514 GB, free: 2.297 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000608/0.6235, allocations: 59.73 kB / 0.6514 GB, free: 2.238 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.896e-05/0.6235, allocations: 4 kB / 0.6514 GB, free: 2.234 MB / 458.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 () * 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 (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 {5 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001687/0.6237, allocations: 118.6 kB / 0.6515 GB, free: 2.113 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003306/0.627, allocations: 1.156 MB / 0.6527 GB, free: 0.9414 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001234/0.6272, allocations: 31.62 kB / 0.6527 GB, free: 0.9102 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003525/0.6307, allocations: 1.187 MB / 0.6539 GB, free: 15.7 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-05/0.6307, allocations: 7.953 kB / 0.6539 GB, free: 15.7 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/0.6308, allocations: 4 kB / 0.6539 GB, free: 15.69 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/0.6308, allocations: 0 / 0.6539 GB, free: 15.69 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007088/0.6315, allocations: 473.4 kB / 0.6543 GB, free: 15.19 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.6315, allocations: 0 / 0.6543 GB, free: 15.19 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002492/0.6318, allocations: 37.05 kB / 0.6544 GB, free: 15.16 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002296/0.6341, allocations: 0.6441 MB / 0.655 GB, free: 14.5 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.523e-05/0.6341, allocations: 3.984 kB / 0.655 GB, free: 14.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003362/0.6375, allocations: 2.2 MB / 0.6571 GB, free: 12.19 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.773e-06/0.6375, allocations: 2.562 kB / 0.6571 GB, free: 12.19 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003914/0.6415, allocations: 1.506 MB / 0.6586 GB, free: 10.66 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001986/0.6417, allocations: 116.6 kB / 0.6587 GB, free: 10.52 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.657e-05/0.6418, allocations: 0 / 0.6587 GB, free: 10.52 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004473/0.6422, allocations: 44.02 kB / 0.6588 GB, free: 10.48 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000234/0.6425, allocations: 83.84 kB / 0.6588 GB, free: 10.4 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.275e-05/0.6425, allocations: 8 kB / 0.6589 GB, free: 10.39 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002337/0.6427, allocations: 212.6 kB / 0.6591 GB, free: 10.19 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.6428, allocations: 0.75 kB / 0.6591 GB, free: 10.19 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0005706/0.6433, allocations: 139.8 kB / 0.6592 GB, free: 10.05 MB / 474.7 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 () * 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 (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.004248/0.6476, allocations: 2.066 MB / 0.6612 GB, free: 7.945 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002152/0.6498, allocations: 0.9073 MB / 0.6621 GB, free: 6.984 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.828e-06/0.6498, allocations: 0 / 0.6621 GB, free: 6.984 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00156/0.6514, allocations: 0.6887 MB / 0.6628 GB, free: 6.242 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004283/0.6518, allocations: 30.09 kB / 0.6628 GB, free: 6.211 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006314/0.6582, allocations: 0.9231 MB / 0.6637 GB, free: 5.246 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003416/0.6586, allocations: 0.8028 MB / 0.6645 GB, free: 4.418 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 9.685e-05/0.6587, allocations: 18.08 kB / 0.6645 GB, free: 4.402 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001614/0.6588, allocations: 116.2 kB / 0.6646 GB, free: 4.293 MB / 474.7 MB Notification: Performance of SimCode: time 1.152e-06/0.6589, allocations: 0 / 0.6646 GB, free: 4.293 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03099/0.6898, allocations: 9.221 MB / 0.6736 GB, free: 11.18 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002095/0.6901, allocations: 149.4 kB / 0.6738 GB, free: 10.99 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.15/2.841, allocations: 0 / 0.6738 GB, free: 10.99 MB / 490.7 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/linux/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)