Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_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: translateModel(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test") translateModel(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.268/1.268, allocations: 222.9 MB / 238.8 MB, free: 4.754 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.001176/0.001176, allocations: 188.5 kB / 289.1 MB, free: 2.496 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4502/0.4502, allocations: 78.52 MB / 417.8 MB, free: 3.273 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 75.89 kB / 496.8 MB, free: 6.789 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1338, allocations: 68.17 MB / 0.5517 GB, free: 2.578 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test): time 0.2333/0.3672, allocations: 2.935 MB / 0.5546 GB, free: 37.57 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001501/0.3687, allocations: 0.899 MB / 0.5554 GB, free: 37.57 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001174/0.3688, allocations: 2.5 kB / 0.5554 GB, free: 37.57 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002657/0.3691, allocations: 80.64 kB / 0.5555 GB, free: 37.57 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002298/0.3694, allocations: 104.2 kB / 0.5556 GB, free: 37.56 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007776/0.3702, allocations: 425.2 kB / 0.556 GB, free: 37.55 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003711/0.3705, allocations: 404.3 kB / 0.5564 GB, free: 37.54 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000173/0.3707, allocations: 79.05 kB / 0.5565 GB, free: 37.53 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001261/0.3709, allocations: 149.7 kB / 0.5566 GB, free: 37.5 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002643/0.3711, allocations: 218.2 kB / 0.5568 GB, free: 37.45 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.521e-05/0.3712, allocations: 21.44 kB / 0.5569 GB, free: 37.45 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001527/0.3713, allocations: 78.78 kB / 0.5569 GB, free: 37.45 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.966e-05/0.3714, allocations: 73.53 kB / 0.557 GB, free: 37.43 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001334/0.3716, allocations: 180.2 kB / 0.5572 GB, free: 37.38 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004086/0.372, allocations: 481.5 kB / 0.5576 GB, free: 37.3 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.372, allocations: 3.469 kB / 0.5576 GB, free: 37.3 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.372, allocations: 0 / 0.5576 GB, free: 37.3 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.372, allocations: 0 / 0.5576 GB, free: 37.3 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.002746/0.3748, allocations: 1.025 MB / 0.5586 GB, free: 36.8 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.3748, allocations: 12.12 kB / 0.5586 GB, free: 36.8 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001575/0.3764, allocations: 253.8 kB / 0.5589 GB, free: 36.78 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003815/0.3768, allocations: 352.6 kB / 0.5592 GB, free: 36.54 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001048/0.3769, allocations: 88.58 kB / 0.5593 GB, free: 36.48 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.46e-05/0.3769, allocations: 20.94 kB / 0.5593 GB, free: 36.48 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006952/0.3777, allocations: 366.8 kB / 0.5597 GB, free: 36.44 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.3777, allocations: 4.125 kB / 0.5597 GB, free: 36.44 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.9e-05/0.3777, allocations: 8.938 kB / 0.5597 GB, free: 36.44 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.098e-06/0.3777, allocations: 9.25 kB / 0.5597 GB, free: 36.44 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007031/0.3784, allocations: 359.4 kB / 0.56 GB, free: 36.43 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001791/0.3802, allocations: 1.032 MB / 0.5611 GB, free: 36.13 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006015/0.3863, allocations: 1.357 MB / 0.5624 GB, free: 36.11 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005307/0.3868, allocations: 264.4 kB / 0.5626 GB, free: 36.1 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.752e-05/0.3869, allocations: 4.906 kB / 0.5626 GB, free: 36.1 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.3869, allocations: 34.02 kB / 0.5627 GB, free: 36.06 MB / 430.1 MB Notification: Performance of pre-optimization done (n=31): time 3.306e-06/0.3869, allocations: 1.031 kB / 0.5627 GB, free: 36.06 MB / 430.1 MB Notification: Performance of matching and sorting (n=31): time 0.006175/0.3931, allocations: 1.986 MB / 0.5646 GB, free: 35.68 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.534e-05/0.3932, allocations: 54.22 kB / 0.5647 GB, free: 35.62 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004179/0.3936, allocations: 317.4 kB / 0.565 GB, free: 35.51 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.786e-05/0.3937, allocations: 32.39 kB / 0.565 GB, free: 35.48 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.3938, allocations: 186.9 kB / 0.5652 GB, free: 35.38 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001005/0.3939, allocations: 107.7 kB / 0.5653 GB, free: 35.31 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001217/0.394, allocations: 51.75 kB / 0.5653 GB, free: 35.29 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.751e-05/0.3941, allocations: 356.1 kB / 0.5657 GB, free: 34.96 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004273/0.3945, allocations: 215.8 kB / 0.5659 GB, free: 34.96 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004289/0.395, allocations: 229.1 kB / 0.5661 GB, free: 34.96 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008327/0.3958, allocations: 465.1 kB / 0.5665 GB, free: 34.95 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.3958, allocations: 2.656 kB / 0.5665 GB, free: 34.95 MB / 430.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.003679/0.3995, allocations: 1.254 MB / 0.5678 GB, free: 34.83 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.3995, allocations: 5.406 kB / 0.5678 GB, free: 34.83 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.3995, allocations: 3.281 kB / 0.5678 GB, free: 34.83 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002798/0.4023, allocations: 0.7546 MB / 0.5685 GB, free: 34.78 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001891/0.4025, allocations: 33.89 kB / 0.5685 GB, free: 34.78 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004706/0.4073, allocations: 2.88 MB / 0.5713 GB, free: 33.46 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005308/0.4078, allocations: 53.84 kB / 0.5714 GB, free: 33.44 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.172e-05/0.4078, allocations: 12.8 kB / 0.5714 GB, free: 33.44 MB / 430.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.0001733/0.408, allocations: 144.2 kB / 0.5715 GB, free: 33.32 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.982e-05/0.4081, allocations: 35.95 kB / 0.5716 GB, free: 33.3 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003455/0.4116, allocations: 1.212 MB / 0.5728 GB, free: 33.21 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.4116, allocations: 6.719 kB / 0.5728 GB, free: 33.21 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.4116, allocations: 3.281 kB / 0.5728 GB, free: 33.21 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.4116, allocations: 6.656 kB / 0.5728 GB, free: 33.21 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004569/0.4121, allocations: 0.5181 MB / 0.5733 GB, free: 33 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.4121, allocations: 0.5 kB / 0.5733 GB, free: 33 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001892/0.4123, allocations: 29.44 kB / 0.5733 GB, free: 33 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002312/0.4146, allocations: 0.6768 MB / 0.574 GB, free: 32.96 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.475e-05/0.4146, allocations: 7.375 kB / 0.574 GB, free: 32.96 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00357/0.4182, allocations: 2.474 MB / 0.5764 GB, free: 31.66 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.4182, allocations: 4 kB / 0.5764 GB, free: 31.66 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004216/0.4225, allocations: 1.567 MB / 0.5779 GB, free: 31.45 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001641/0.4226, allocations: 117 kB / 0.578 GB, free: 31.34 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.641e-05/0.4227, allocations: 9.156 kB / 0.5781 GB, free: 31.34 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004365/0.4231, allocations: 40.17 kB / 0.5781 GB, free: 31.33 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002806/0.4234, allocations: 88.7 kB / 0.5782 GB, free: 31.32 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.245e-05/0.4235, allocations: 9.25 kB / 0.5782 GB, free: 31.32 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002705/0.4238, allocations: 232.4 kB / 0.5784 GB, free: 31.21 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4238, allocations: 0 / 0.5784 GB, free: 31.21 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000537/0.4243, allocations: 133.3 kB / 0.5785 GB, free: 31.2 MB / 430.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.0001625/0.4245, allocations: 111.5 kB / 0.5786 GB, free: 31.1 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002453/0.4269, allocations: 0.9821 MB / 0.5796 GB, free: 30.56 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.427, allocations: 0 / 0.5796 GB, free: 30.56 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001745/0.4287, allocations: 0.7093 MB / 0.5803 GB, free: 30.12 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005281/0.4293, allocations: 29.88 kB / 0.5803 GB, free: 30.11 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006288/0.4356, allocations: 1.211 MB / 0.5815 GB, free: 29.55 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002225/0.4358, allocations: 0.7927 MB / 0.5823 GB, free: 28.85 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001155/0.4359, allocations: 21.64 kB / 0.5823 GB, free: 28.85 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.135e-05/0.436, allocations: 28.09 kB / 0.5823 GB, free: 28.84 MB / 430.1 MB Notification: Performance of SimCode: time 1.342e-06/0.436, allocations: 0 / 0.5823 GB, free: 28.84 MB / 430.1 MB Notification: Performance of Templates: time 0.01321/0.4492, allocations: 7.309 MB / 0.5895 GB, free: 28.47 MB / 430.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe 2>&1)