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.005543/0.005549, allocations: 101.3 kB / 15.73 MB, free: 6.039 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.319/1.319, allocations: 222.9 MB / 239.4 MB, free: 4.543 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.001296/0.001296, allocations: 180.5 kB / 289.7 MB, free: 2.258 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4306/0.4306, allocations: 78.53 MB / 418.4 MB, free: 3.129 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001632/0.001632, allocations: 83.81 kB / 0.5531 GB, free: 1.477 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3069/0.3086, allocations: 68.17 MB / 0.6197 GB, free: 9.336 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test): time 0.002948/0.3116, allocations: 3.052 MB / 0.6227 GB, free: 6.887 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001332/0.3129, allocations: 0.9685 MB / 0.6236 GB, free: 6.102 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001418/0.3131, allocations: 2.625 kB / 0.6236 GB, free: 6.102 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002514/0.3133, allocations: 95.19 kB / 0.6237 GB, free: 6.027 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002829/0.3136, allocations: 177.3 kB / 0.6239 GB, free: 5.867 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007918/0.3144, allocations: 468.7 kB / 0.6243 GB, free: 5.41 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003432/0.3148, allocations: 0.5409 MB / 0.6249 GB, free: 4.867 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001597/0.3149, allocations: 89.05 kB / 0.6249 GB, free: 4.777 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001765/0.3151, allocations: 231.1 kB / 0.6252 GB, free: 4.551 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002862/0.3154, allocations: 298.7 kB / 0.6255 GB, free: 4.258 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.531e-05/0.3155, allocations: 48 kB / 0.6255 GB, free: 4.211 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001454/0.3156, allocations: 99.95 kB / 0.6256 GB, free: 4.113 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.919e-05/0.3157, allocations: 119.5 kB / 0.6257 GB, free: 3.996 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001344/0.3159, allocations: 238.7 kB / 0.6259 GB, free: 3.762 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004074/0.3163, allocations: 0.59 MB / 0.6265 GB, free: 3.172 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3163, allocations: 0 / 0.6265 GB, free: 3.172 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.3163, allocations: 0 / 0.6265 GB, free: 3.172 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.3163, allocations: 0 / 0.6265 GB, free: 3.172 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.002963/0.3193, allocations: 1.146 MB / 0.6276 GB, free: 1.977 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.3193, allocations: 12.03 kB / 0.6276 GB, free: 1.965 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.346e-05/0.3194, allocations: 62.73 kB / 0.6277 GB, free: 1.895 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001912/0.3213, allocations: 276 kB / 0.628 GB, free: 1.625 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004174/0.3218, allocations: 422.1 kB / 0.6284 GB, free: 1.176 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.714e-05/0.3219, allocations: 87.89 kB / 0.6284 GB, free: 1.078 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.145e-05/0.3219, allocations: 35.91 kB / 0.6285 GB, free: 1.043 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006689/0.3226, allocations: 400.7 kB / 0.6289 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.3226, allocations: 4 kB / 0.6289 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.438e-05/0.3227, allocations: 12 kB / 0.6289 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.525e-06/0.3227, allocations: 8 kB / 0.6289 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006468/0.3233, allocations: 386 kB / 0.6293 GB, free: 248 kB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00194/0.3253, allocations: 1.123 MB / 0.6304 GB, free: 15.07 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006255/0.3315, allocations: 1.363 MB / 0.6317 GB, free: 13.7 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005527/0.3321, allocations: 292.7 kB / 0.632 GB, free: 13.41 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.858e-05/0.3322, allocations: 4 kB / 0.632 GB, free: 13.4 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/0.3322, allocations: 35.09 kB / 0.632 GB, free: 13.36 MB / 446.1 MB Notification: Performance of pre-optimization done (n=35): time 1.703e-06/0.3322, allocations: 0 / 0.632 GB, free: 13.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=35): time 0.006065/0.3383, allocations: 1.982 MB / 0.6339 GB, free: 11.3 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.626e-05/0.3383, allocations: 59.34 kB / 0.634 GB, free: 11.23 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004805/0.3388, allocations: 429.5 kB / 0.6344 GB, free: 10.8 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.693e-05/0.3389, allocations: 33.64 kB / 0.6344 GB, free: 10.77 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001437/0.339, allocations: 216.6 kB / 0.6346 GB, free: 10.55 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001069/0.3391, allocations: 122.2 kB / 0.6348 GB, free: 10.43 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001405/0.3393, allocations: 61.7 kB / 0.6348 GB, free: 10.36 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.3394, allocations: 354.8 kB / 0.6352 GB, free: 10 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005032/0.3399, allocations: 235.9 kB / 0.6354 GB, free: 9.773 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004897/0.3404, allocations: 243.9 kB / 0.6356 GB, free: 9.535 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009878/0.3414, allocations: 0.5048 MB / 0.6361 GB, free: 9.027 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.3414, allocations: 0 / 0.6361 GB, free: 9.027 MB / 446.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.004223/0.3457, allocations: 1.373 MB / 0.6374 GB, free: 7.633 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.3457, allocations: 15.94 kB / 0.6375 GB, free: 7.617 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.3457, allocations: 0 / 0.6375 GB, free: 7.617 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003369/0.3491, allocations: 0.8783 MB / 0.6383 GB, free: 6.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001967/0.3493, allocations: 35.92 kB / 0.6384 GB, free: 6.695 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006408/0.3557, allocations: 3.385 MB / 0.6417 GB, free: 3.176 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000508/0.3563, allocations: 47.8 kB / 0.6417 GB, free: 3.129 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.95e-05/0.3563, allocations: 15.88 kB / 0.6417 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.0001968/0.3565, allocations: 149.8 kB / 0.6419 GB, free: 2.957 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.894e-05/0.3566, allocations: 43.44 kB / 0.6419 GB, free: 2.914 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003555/0.3602, allocations: 1.241 MB / 0.6431 GB, free: 1.656 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-06/0.3602, allocations: 4 kB / 0.6431 GB, free: 1.652 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.3602, allocations: 4 kB / 0.6431 GB, free: 1.648 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.3602, allocations: 3.984 kB / 0.6431 GB, free: 1.645 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006218/0.3608, allocations: 0.5517 MB / 0.6437 GB, free: 1.043 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.3609, allocations: 0 / 0.6437 GB, free: 1.043 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002886/0.3612, allocations: 39.92 kB / 0.6437 GB, free: 1.004 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00212/0.3633, allocations: 0.623 MB / 0.6443 GB, free: 380 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.269e-05/0.3633, allocations: 16 kB / 0.6443 GB, free: 364 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003996/0.3673, allocations: 2.551 MB / 0.6468 GB, free: 13.66 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.3674, allocations: 0 / 0.6468 GB, free: 13.66 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00414/0.3715, allocations: 1.602 MB / 0.6484 GB, free: 12.03 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001383/0.3717, allocations: 124.6 kB / 0.6485 GB, free: 11.89 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.219e-05/0.3717, allocations: 12 kB / 0.6485 GB, free: 11.88 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004486/0.3722, allocations: 31.95 kB / 0.6485 GB, free: 11.84 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002329/0.3724, allocations: 95.95 kB / 0.6486 GB, free: 11.75 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.239e-05/0.3725, allocations: 4 kB / 0.6486 GB, free: 11.75 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003458/0.3728, allocations: 315.1 kB / 0.6489 GB, free: 11.44 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3728, allocations: 0 / 0.6489 GB, free: 11.44 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005208/0.3734, allocations: 151.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.004403/0.3778, allocations: 2.155 MB / 0.6512 GB, free: 9.098 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00276/0.3806, allocations: 1.15 MB / 0.6523 GB, free: 7.891 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.3806, allocations: 3.938 kB / 0.6523 GB, free: 7.887 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001614/0.3822, allocations: 0.7286 MB / 0.653 GB, free: 7.102 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004149/0.3826, allocations: 39.09 kB / 0.6531 GB, free: 7.066 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01252/0.3952, allocations: 6.076 MB / 0.659 GB, free: 0.8867 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003377/0.3955, allocations: 0.8194 MB / 0.6598 GB, free: 44 kB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001353/0.3957, allocations: 30.97 kB / 0.6598 GB, free: 16 kB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002331/0.3959, allocations: 147.5 kB / 0.66 GB, free: 15.87 MB / 478.1 MB Notification: Performance of SimCode: time 7.91e-07/0.3959, allocations: 0 / 0.66 GB, free: 15.87 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03652/0.4324, allocations: 12.92 MB / 0.6726 GB, free: 3.09 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.86/12.29, allocations: 21.53 kB / 0.6726 GB, free: 3.074 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_InductiveMotorV_SIMBOpenline_Test_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_InductiveMotorV_SIMBOpenline_Test.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe 2>&1)