Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/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-master/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_InductiveMotorI_SIMBOpenline_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_2_0_0_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/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07441/0.07441, allocations: 12.59 MB / 28.22 MB, free: 0.7227 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.001114/0.001115, allocations: 107.4 kB / 31.83 MB, free: 3.867 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.276/1.276, allocations: 205.1 MB / 240.4 MB, free: 12.36 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.001409/0.001409, allocations: 188.5 kB / 290.7 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.4189/0.4189, allocations: 78.52 MB / 419.3 MB, free: 11.22 MB / 302.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.003644/0.003644, allocations: 148.3 kB / 0.5554 GB, free: 29.04 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1103, allocations: 68.13 MB / 0.6219 GB, free: 15.95 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test): time 0.003822/0.1141, allocations: 2.776 MB / 0.6246 GB, free: 13.15 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001517/0.1157, allocations: 0.9474 MB / 0.6255 GB, free: 12.2 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001128/0.1158, allocations: 4 kB / 0.6255 GB, free: 12.2 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002652/0.1161, allocations: 91.33 kB / 0.6256 GB, free: 12.11 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002504/0.1163, allocations: 119 kB / 0.6257 GB, free: 11.99 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009846/0.1173, allocations: 462 kB / 0.6262 GB, free: 11.54 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004656/0.1178, allocations: 422.3 kB / 0.6266 GB, free: 11.12 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001928/0.118, allocations: 89.28 kB / 0.6267 GB, free: 11.04 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001708/0.1182, allocations: 171.2 kB / 0.6268 GB, free: 10.87 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003085/0.1185, allocations: 223 kB / 0.627 GB, free: 10.65 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.086e-05/0.1186, allocations: 32 kB / 0.6271 GB, free: 10.62 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001699/0.1187, allocations: 95.91 kB / 0.6272 GB, free: 10.52 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.906e-05/0.1188, allocations: 87.66 kB / 0.6272 GB, free: 10.44 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001727/0.119, allocations: 190.9 kB / 0.6274 GB, free: 10.25 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00053/0.1195, allocations: 494 kB / 0.6279 GB, free: 9.766 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.1195, allocations: 4 kB / 0.6279 GB, free: 9.762 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1196, allocations: 0 / 0.6279 GB, free: 9.762 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.011e-05/0.1196, allocations: 0 / 0.6279 GB, free: 9.762 MB / 446.1 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.002912/0.1225, allocations: 1.032 MB / 0.6289 GB, free: 8.676 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.1225, allocations: 15.98 kB / 0.6289 GB, free: 8.66 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.138e-05/0.1226, allocations: 62.72 kB / 0.629 GB, free: 8.59 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00157/0.1242, allocations: 260.4 kB / 0.6292 GB, free: 8.336 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004423/0.1246, allocations: 364.1 kB / 0.6296 GB, free: 7.938 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001157/0.1248, allocations: 83.89 kB / 0.6297 GB, free: 7.844 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.417e-05/0.1248, allocations: 24 kB / 0.6297 GB, free: 7.82 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000762/0.1256, allocations: 364.8 kB / 0.63 GB, free: 7.457 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.1256, allocations: 0 / 0.63 GB, free: 7.457 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.647e-05/0.1257, allocations: 12 kB / 0.63 GB, free: 7.445 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.205e-05/0.1257, allocations: 7.984 kB / 0.6301 GB, free: 7.438 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008014/0.1265, allocations: 370 kB / 0.6304 GB, free: 7.074 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001912/0.1284, allocations: 1.018 MB / 0.6314 GB, free: 6.008 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006769/0.1352, allocations: 1.36 MB / 0.6327 GB, free: 4.637 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005581/0.1358, allocations: 256.8 kB / 0.633 GB, free: 4.383 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.079e-05/0.1358, allocations: 4 kB / 0.633 GB, free: 4.379 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/0.1359, allocations: 38.56 kB / 0.633 GB, free: 4.332 MB / 446.1 MB Notification: Performance of pre-optimization done (n=31): time 1.994e-06/0.1359, allocations: 0 / 0.633 GB, free: 4.332 MB / 446.1 MB Notification: Performance of matching and sorting (n=31): time 0.006867/0.1427, allocations: 1.975 MB / 0.6349 GB, free: 2.285 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.289e-05/0.1428, allocations: 59.41 kB / 0.635 GB, free: 2.215 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003756/0.1432, allocations: 320.5 kB / 0.6353 GB, free: 1.895 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.427e-05/0.1433, allocations: 33.7 kB / 0.6353 GB, free: 1.855 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001432/0.1434, allocations: 188.8 kB / 0.6355 GB, free: 1.664 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001191/0.1435, allocations: 111 kB / 0.6356 GB, free: 1.555 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001271/0.1437, allocations: 61.92 kB / 0.6357 GB, free: 1.488 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.1438, allocations: 342.7 kB / 0.636 GB, free: 1.145 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005054/0.1443, allocations: 224.4 kB / 0.6362 GB, free: 0.9258 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004937/0.1448, allocations: 221 kB / 0.6364 GB, free: 0.7109 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001009/0.1459, allocations: 474.2 kB / 0.6369 GB, free: 252 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1459, allocations: 0 / 0.6369 GB, free: 252 kB / 446.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.004232/0.1501, allocations: 1.252 MB / 0.6381 GB, free: 14.98 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.1501, allocations: 4 kB / 0.6381 GB, free: 14.97 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.1502, allocations: 3.938 kB / 0.6381 GB, free: 14.97 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003169/0.1533, allocations: 0.7517 MB / 0.6388 GB, free: 14.21 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001708/0.1535, allocations: 27.92 kB / 0.6389 GB, free: 14.18 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006058/0.1596, allocations: 3.145 MB / 0.6419 GB, free: 10.89 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004518/0.1601, allocations: 47.86 kB / 0.642 GB, free: 10.84 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.232e-05/0.1601, allocations: 8 kB / 0.642 GB, free: 10.84 MB / 462.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 (21): * Single equations (assignments): 18 * 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 {(5,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001989/0.1603, allocations: 155.2 kB / 0.6421 GB, free: 10.68 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.418e-05/0.1604, allocations: 35.77 kB / 0.6422 GB, free: 10.64 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003963/0.1643, allocations: 1.215 MB / 0.6434 GB, free: 9.41 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.1644, allocations: 4 kB / 0.6434 GB, free: 9.406 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.1644, allocations: 4 kB / 0.6434 GB, free: 9.402 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.1644, allocations: 4.094 kB / 0.6434 GB, free: 9.398 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005965/0.165, allocations: 0.5242 MB / 0.6439 GB, free: 8.824 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.165, allocations: 4 kB / 0.6439 GB, free: 8.82 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001916/0.1652, allocations: 31.98 kB / 0.6439 GB, free: 8.789 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002614/0.1678, allocations: 0.6736 MB / 0.6446 GB, free: 8.105 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.516e-05/0.1679, allocations: 8 kB / 0.6446 GB, free: 8.098 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00472/0.1726, allocations: 2.677 MB / 0.6472 GB, free: 5.285 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.1726, allocations: 3.938 kB / 0.6472 GB, free: 5.281 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004607/0.1772, allocations: 1.579 MB / 0.6488 GB, free: 3.676 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001134/0.1774, allocations: 116.8 kB / 0.6489 GB, free: 3.543 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.433e-05/0.1774, allocations: 11.98 kB / 0.6489 GB, free: 3.531 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003967/0.1778, allocations: 31.97 kB / 0.6489 GB, free: 3.5 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002228/0.1781, allocations: 87.94 kB / 0.649 GB, free: 3.414 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.769e-05/0.1781, allocations: 8 kB / 0.649 GB, free: 3.406 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002537/0.1783, allocations: 235 kB / 0.6492 GB, free: 3.18 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1784, allocations: 0 / 0.6492 GB, free: 3.18 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004648/0.1788, allocations: 135.9 kB / 0.6493 GB, free: 3.047 MB / 462.1 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 () * Number of clocked 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 (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.004955/0.1838, allocations: 2.132 MB / 0.6514 GB, free: 0.875 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002568/0.1864, allocations: 0.9902 MB / 0.6524 GB, free: 15.83 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1864, allocations: 0 / 0.6524 GB, free: 15.83 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001751/0.1881, allocations: 0.713 MB / 0.6531 GB, free: 15.06 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003514/0.1885, allocations: 26.12 kB / 0.6531 GB, free: 15.03 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01638/0.2049, allocations: 5.647 MB / 0.6586 GB, free: 9.277 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004248/0.2053, allocations: 0.795 MB / 0.6594 GB, free: 8.457 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 8.49e-05/0.2054, allocations: 22.3 kB / 0.6594 GB, free: 8.438 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00017/0.2056, allocations: 111.4 kB / 0.6595 GB, free: 8.328 MB / 478.1 MB Notification: Performance of SimCode: time 6.01e-07/0.2056, allocations: 0 / 0.6595 GB, free: 8.328 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0401/0.2457, allocations: 11.51 MB / 0.6708 GB, free: 12.9 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.59, allocations: 10.94 kB / 0.6708 GB, free: 12.89 MB / 494.1 MB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.sim & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_InductiveMotorI_SIMBOpenline_Test.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe 2>&1)