Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.conf.json 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 4.0.0+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 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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_InductiveMotorV_SIMBOpenline_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_dev_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005171/0.005171, allocations: 100.5 kB / 15.73 MB, free: 6.469 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 222.9 MB / 239.4 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 180.5 kB / 289.7 MB, free: 2.277 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4958/0.4958, allocations: 91.9 MB / 431.8 MB, free: 9.176 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 79.78 kB / 0.5722 GB, free: 33.55 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1213, allocations: 71.28 MB / 0.6418 GB, free: 4.141 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test): time 0.004035/0.1253, allocations: 3.072 MB / 0.6448 GB, free: 1.055 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001942/0.1273, allocations: 0.9707 MB / 0.6458 GB, free: 84 kB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000308/0.1276, allocations: 7.938 kB / 0.6458 GB, free: 76 kB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003716/0.128, allocations: 99.31 kB / 0.6459 GB, free: 15.97 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005067/0.1286, allocations: 146.8 kB / 0.646 GB, free: 15.83 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001158/0.1297, allocations: 476.9 kB / 0.6465 GB, free: 15.37 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007038/0.1305, allocations: 0.5371 MB / 0.647 GB, free: 14.83 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002114/0.1307, allocations: 87.88 kB / 0.6471 GB, free: 14.74 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003629/0.131, allocations: 231 kB / 0.6473 GB, free: 14.52 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004684/0.1315, allocations: 294.8 kB / 0.6476 GB, free: 14.23 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001204/0.1317, allocations: 48 kB / 0.6476 GB, free: 14.18 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002285/0.1319, allocations: 107.9 kB / 0.6477 GB, free: 14.07 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001065/0.132, allocations: 115.6 kB / 0.6478 GB, free: 13.96 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002505/0.1323, allocations: 238.6 kB / 0.6481 GB, free: 13.73 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007199/0.133, allocations: 0.5809 MB / 0.6486 GB, free: 13.14 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.133, allocations: 0 / 0.6486 GB, free: 13.14 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.133, allocations: 4 kB / 0.6486 GB, free: 13.14 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.726e-05/0.133, allocations: 0 / 0.6486 GB, free: 13.14 MB / 462.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.003671/0.1367, allocations: 1.153 MB / 0.6498 GB, free: 11.93 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.774e-05/0.1368, allocations: 12.03 kB / 0.6498 GB, free: 11.92 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.735e-05/0.1369, allocations: 66.66 kB / 0.6498 GB, free: 11.85 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00166/0.1386, allocations: 272 kB / 0.6501 GB, free: 11.58 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005961/0.1392, allocations: 414.2 kB / 0.6505 GB, free: 11.14 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001163/0.1393, allocations: 91.89 kB / 0.6506 GB, free: 11.04 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.006e-05/0.1394, allocations: 31.91 kB / 0.6506 GB, free: 11 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009065/0.1403, allocations: 412.6 kB / 0.651 GB, free: 10.59 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.1403, allocations: 3.938 kB / 0.651 GB, free: 10.59 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.722e-05/0.1404, allocations: 12 kB / 0.651 GB, free: 10.58 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/0.1404, allocations: 8 kB / 0.651 GB, free: 10.57 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008362/0.1412, allocations: 386 kB / 0.6514 GB, free: 10.2 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002207/0.1434, allocations: 1.127 MB / 0.6525 GB, free: 9.016 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007082/0.1505, allocations: 1.362 MB / 0.6538 GB, free: 7.645 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006442/0.1512, allocations: 288.7 kB / 0.6541 GB, free: 7.359 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.394e-05/0.1513, allocations: 4 kB / 0.6541 GB, free: 7.355 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/0.1513, allocations: 42.44 kB / 0.6541 GB, free: 7.305 MB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 2.265e-06/0.1513, allocations: 0 / 0.6541 GB, free: 7.305 MB / 462.1 MB Notification: Performance of matching and sorting (n=35): time 0.006792/0.1581, allocations: 1.983 MB / 0.6561 GB, free: 5.25 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.019e-05/0.1582, allocations: 59.34 kB / 0.6561 GB, free: 5.18 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005689/0.1588, allocations: 417.7 kB / 0.6565 GB, free: 4.766 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.819e-05/0.1588, allocations: 41.69 kB / 0.6566 GB, free: 4.719 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001551/0.159, allocations: 204.6 kB / 0.6568 GB, free: 4.516 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001244/0.1591, allocations: 130.1 kB / 0.6569 GB, free: 4.387 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001497/0.1593, allocations: 61.64 kB / 0.657 GB, free: 4.32 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.1594, allocations: 354.8 kB / 0.6573 GB, free: 3.965 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000556/0.16, allocations: 239.9 kB / 0.6575 GB, free: 3.73 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005358/0.1605, allocations: 243.7 kB / 0.6578 GB, free: 3.492 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001078/0.1616, allocations: 0.5011 MB / 0.6582 GB, free: 2.988 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.1616, allocations: 0 / 0.6582 GB, free: 2.988 MB / 462.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.004507/0.1662, allocations: 1.372 MB / 0.6596 GB, free: 1.598 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.956e-05/0.1662, allocations: 11.94 kB / 0.6596 GB, free: 1.586 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.1662, allocations: 4 kB / 0.6596 GB, free: 1.582 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003622/0.1699, allocations: 0.8764 MB / 0.6605 GB, free: 0.6953 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002134/0.1701, allocations: 35.98 kB / 0.6605 GB, free: 0.6602 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006904/0.177, allocations: 3.389 MB / 0.6638 GB, free: 13.13 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005292/0.1775, allocations: 43.75 kB / 0.6638 GB, free: 13.09 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.474e-05/0.1776, allocations: 15.94 kB / 0.6639 GB, free: 13.07 MB / 478.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 (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 {(8,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0002129/0.1778, allocations: 150.7 kB / 0.664 GB, free: 12.92 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.1779, allocations: 43.44 kB / 0.664 GB, free: 12.88 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003989/0.1819, allocations: 1.241 MB / 0.6653 GB, free: 11.61 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.182, allocations: 0 / 0.6653 GB, free: 11.61 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.077e-05/0.182, allocations: 4 kB / 0.6653 GB, free: 11.61 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.675e-06/0.182, allocations: 3.984 kB / 0.6653 GB, free: 11.61 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006751/0.1827, allocations: 0.5517 MB / 0.6658 GB, free: 11 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.942e-06/0.1827, allocations: 7.938 kB / 0.6658 GB, free: 11 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002814/0.183, allocations: 35.98 kB / 0.6658 GB, free: 10.96 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002391/0.1854, allocations: 0.6268 MB / 0.6665 GB, free: 10.32 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.337e-05/0.1854, allocations: 8 kB / 0.6665 GB, free: 10.32 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00442/0.1899, allocations: 2.567 MB / 0.669 GB, free: 7.609 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.1899, allocations: 0 / 0.669 GB, free: 7.609 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004585/0.1945, allocations: 1.606 MB / 0.6705 GB, free: 5.973 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001767/0.1947, allocations: 124.6 kB / 0.6707 GB, free: 5.832 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.224e-05/0.1948, allocations: 11.98 kB / 0.6707 GB, free: 5.82 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005012/0.1953, allocations: 27.97 kB / 0.6707 GB, free: 5.793 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002529/0.1956, allocations: 91.88 kB / 0.6708 GB, free: 5.703 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.045e-05/0.1956, allocations: 8 kB / 0.6708 GB, free: 5.695 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004298/0.196, allocations: 307.1 kB / 0.6711 GB, free: 5.398 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.196, allocations: 4 kB / 0.6711 GB, free: 5.395 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0006003/0.1967, allocations: 147.8 kB / 0.6712 GB, free: 5.25 MB / 478.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 (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.005043/0.2017, allocations: 2.163 MB / 0.6733 GB, free: 3.047 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003145/0.2049, allocations: 1.134 MB / 0.6744 GB, free: 1.855 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.2049, allocations: 0 / 0.6744 GB, free: 1.855 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001786/0.2067, allocations: 0.7324 MB / 0.6752 GB, free: 1.066 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004298/0.2071, allocations: 38.8 kB / 0.6752 GB, free: 1.027 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01397/0.2211, allocations: 6.09 MB / 0.6811 GB, free: 10.84 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003812/0.2215, allocations: 0.8118 MB / 0.6819 GB, free: 10 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001478/0.2217, allocations: 38.95 kB / 0.682 GB, free: 9.965 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002482/0.222, allocations: 139.4 kB / 0.6821 GB, free: 9.828 MB / 494.1 MB Notification: Performance of SimCode: time 7.91e-07/0.222, allocations: 0 / 0.6821 GB, free: 9.828 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.675/3.897, allocations: 13.44 MB / 0.6952 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.59/16.49, allocations: 8.328 kB / 0.6952 GB, free: 12.54 MB / 0.4981 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_InductiveMotorV_SIMBOpenline_Test_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_InductiveMotorV_SIMBOpenline_Test.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe 2>&1)