Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.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 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_OpenIPSL_Tests_Machines_PSAT_InductiveMotorV_SIMBOpenline_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_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.007002/0.007002, allocations: 97.84 kB / 15.73 MB, free: 6.043 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.396/1.396, allocations: 222.9 MB / 239.4 MB, free: 4.559 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.001505/0.001505, allocations: 192.4 kB / 289.7 MB, free: 2.273 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4764/0.4764, allocations: 78.52 MB / 418.4 MB, free: 3.125 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003413/0.003413, allocations: 84.09 kB / 0.5531 GB, free: 1.512 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3118/0.3152, allocations: 68.17 MB / 0.6197 GB, free: 9.457 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test): time 0.002919/0.3182, allocations: 3.055 MB / 0.6227 GB, free: 7.004 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001225/0.3194, allocations: 0.9678 MB / 0.6236 GB, free: 6.156 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001349/0.3196, allocations: 0 / 0.6236 GB, free: 6.156 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002268/0.3198, allocations: 103.2 kB / 0.6237 GB, free: 6.055 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002579/0.3201, allocations: 158.9 kB / 0.6239 GB, free: 5.898 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007674/0.3209, allocations: 467.8 kB / 0.6243 GB, free: 5.445 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000327/0.3212, allocations: 0.537 MB / 0.6248 GB, free: 4.906 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001432/0.3214, allocations: 101 kB / 0.6249 GB, free: 4.805 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001672/0.3215, allocations: 227 kB / 0.6252 GB, free: 4.582 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00028/0.3218, allocations: 290.8 kB / 0.6254 GB, free: 4.297 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.388e-05/0.3219, allocations: 44 kB / 0.6255 GB, free: 4.254 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000149/0.322, allocations: 104 kB / 0.6256 GB, free: 4.152 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.465e-05/0.3221, allocations: 123.4 kB / 0.6257 GB, free: 4.031 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001281/0.3222, allocations: 234.7 kB / 0.6259 GB, free: 3.801 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000418/0.3227, allocations: 0.5921 MB / 0.6265 GB, free: 3.215 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.3227, allocations: 4 kB / 0.6265 GB, free: 3.211 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3227, allocations: 0 / 0.6265 GB, free: 3.211 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.533e-06/0.3227, allocations: 0 / 0.6265 GB, free: 3.211 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.002933/0.3256, allocations: 1.168 MB / 0.6276 GB, free: 1.992 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/0.3257, allocations: 12.03 kB / 0.6277 GB, free: 1.98 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.491e-05/0.3257, allocations: 62.72 kB / 0.6277 GB, free: 1.91 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001525/0.3273, allocations: 272.4 kB / 0.628 GB, free: 1.645 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003807/0.3277, allocations: 418.4 kB / 0.6284 GB, free: 1.199 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.633e-05/0.3278, allocations: 91.89 kB / 0.6285 GB, free: 1.098 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.804e-05/0.3278, allocations: 31.95 kB / 0.6285 GB, free: 1.066 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006818/0.3285, allocations: 408.7 kB / 0.6289 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.3285, allocations: 0 / 0.6289 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.457e-05/0.3286, allocations: 11.94 kB / 0.6289 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.3286, allocations: 8 kB / 0.6289 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006543/0.3292, allocations: 394 kB / 0.6293 GB, free: 260 kB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002006/0.3313, allocations: 1.127 MB / 0.6304 GB, free: 15.07 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007126/0.3384, allocations: 1.368 MB / 0.6317 GB, free: 13.7 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006175/0.339, allocations: 280.7 kB / 0.632 GB, free: 13.42 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.271e-05/0.3391, allocations: 4 kB / 0.632 GB, free: 13.41 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.336e-05/0.3391, allocations: 43.09 kB / 0.632 GB, free: 13.36 MB / 446.1 MB Notification: Performance of pre-optimization done (n=35): time 1.743e-06/0.3392, allocations: 4 kB / 0.632 GB, free: 13.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=35): time 0.007074/0.3462, allocations: 1.982 MB / 0.634 GB, free: 11.3 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.043e-05/0.3463, allocations: 59.34 kB / 0.634 GB, free: 11.23 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005723/0.3469, allocations: 429.7 kB / 0.6344 GB, free: 10.8 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.367e-05/0.3469, allocations: 33.7 kB / 0.6345 GB, free: 10.77 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001715/0.3471, allocations: 204.8 kB / 0.6347 GB, free: 10.56 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001287/0.3473, allocations: 134.8 kB / 0.6348 GB, free: 10.43 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001494/0.3474, allocations: 57.7 kB / 0.6348 GB, free: 10.36 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000175/0.3476, allocations: 354.8 kB / 0.6352 GB, free: 10.01 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005554/0.3482, allocations: 239.9 kB / 0.6354 GB, free: 9.773 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005493/0.3487, allocations: 239.9 kB / 0.6356 GB, free: 9.539 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001129/0.3498, allocations: 0.5009 MB / 0.6361 GB, free: 9.035 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3499, allocations: 0 / 0.6361 GB, free: 9.035 MB / 446.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.004651/0.3545, allocations: 1.381 MB / 0.6375 GB, free: 7.633 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.3546, allocations: 11.88 kB / 0.6375 GB, free: 7.621 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.3546, allocations: 0 / 0.6375 GB, free: 7.621 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003653/0.3582, allocations: 0.8822 MB / 0.6383 GB, free: 6.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000221/0.3585, allocations: 35.92 kB / 0.6384 GB, free: 6.695 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007254/0.3657, allocations: 3.386 MB / 0.6417 GB, free: 3.176 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005244/0.3663, allocations: 51.81 kB / 0.6417 GB, free: 3.125 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.976e-05/0.3663, allocations: 11.94 kB / 0.6418 GB, free: 3.113 MB / 446.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.0002194/0.3665, allocations: 149.8 kB / 0.6419 GB, free: 2.957 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.487e-05/0.3666, allocations: 43.72 kB / 0.6419 GB, free: 2.914 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004133/0.3708, allocations: 1.241 MB / 0.6431 GB, free: 1.656 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.069e-05/0.3708, allocations: 4 kB / 0.6432 GB, free: 1.652 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.3708, allocations: 4 kB / 0.6432 GB, free: 1.648 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.157e-05/0.3709, allocations: 3.984 kB / 0.6432 GB, free: 1.645 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007827/0.3716, allocations: 0.5594 MB / 0.6437 GB, free: 1.035 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.3717, allocations: 0 / 0.6437 GB, free: 1.035 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002916/0.372, allocations: 39.92 kB / 0.6437 GB, free: 0.9961 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002409/0.3744, allocations: 0.6268 MB / 0.6444 GB, free: 368 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.246e-05/0.3744, allocations: 4 kB / 0.6444 GB, free: 364 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004848/0.3793, allocations: 2.555 MB / 0.6469 GB, free: 13.66 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.3793, allocations: 0 / 0.6469 GB, free: 13.66 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004771/0.3841, allocations: 1.606 MB / 0.6484 GB, free: 12.02 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001919/0.3843, allocations: 124.8 kB / 0.6485 GB, free: 11.88 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.239e-05/0.3844, allocations: 15.92 kB / 0.6486 GB, free: 11.86 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004834/0.3849, allocations: 31.97 kB / 0.6486 GB, free: 11.83 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002585/0.3851, allocations: 87.88 kB / 0.6487 GB, free: 11.75 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.604e-05/0.3852, allocations: 12 kB / 0.6487 GB, free: 11.73 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003877/0.3856, allocations: 307.1 kB / 0.649 GB, free: 11.44 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3856, allocations: 0 / 0.649 GB, free: 11.44 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005366/0.3861, allocations: 155.8 kB / 0.6491 GB, free: 11.29 MB / 462.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.005143/0.3913, allocations: 2.163 MB / 0.6512 GB, free: 9.082 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003167/0.3945, allocations: 1.146 MB / 0.6524 GB, free: 7.879 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.3945, allocations: 0 / 0.6524 GB, free: 7.879 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001871/0.3964, allocations: 0.7287 MB / 0.6531 GB, free: 7.094 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004244/0.3968, allocations: 35.62 kB / 0.6531 GB, free: 7.062 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01417/0.411, allocations: 6.099 MB / 0.6591 GB, free: 0.8594 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004602/0.4115, allocations: 0.8155 MB / 0.6599 GB, free: 20 kB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001809/0.4117, allocations: 35.02 kB / 0.6599 GB, free: 15.98 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002409/0.4119, allocations: 143.3 kB / 0.66 GB, free: 15.85 MB / 478.1 MB Notification: Performance of SimCode: time 7.41e-07/0.4119, allocations: 0 / 0.66 GB, free: 15.85 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04363/0.4556, allocations: 12.94 MB / 0.6727 GB, free: 3.043 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.25/12.7, allocations: 12.53 kB / 0.6727 GB, free: 3.035 MB / 478.1 MB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.sim & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_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_OpenIPSL_Tests_Machines_PSAT_InductiveMotorV_SIMBOpenline_Test.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe 2>&1)