Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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/Complex 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/OpenIMDML 1.0.0-main/package.mo", uses=false) Using package OpenIMDML with version 1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIMDML 1.0.0-main/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo) Running command: translateModel(OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM") translateModel(OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5658/0.5658, allocations: 78.54 MB / 94.17 MB, free: 3.914 MB / 78.07 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 98.53 kB / 113.7 MB, free: 9.801 MB / 94.07 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0014/0.0014, allocations: 184.5 kB / 133.4 MB, free: 6.148 MB / 110.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 222.9 MB / 375.8 MB, free: 3.777 MB / 270.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIMDML 1.0.0-main/package.mo): time 0.7619/0.7619, allocations: 62.27 MB / 0.4951 GB, free: 7.855 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003459/0.003459, allocations: 128.6 kB / 0.6441 GB, free: 14.6 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1593/0.1628, allocations: 69.51 MB / 0.712 GB, free: 13.58 MB / 0.4982 GB Notification: Performance of NFInst.instantiate(OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM): time 0.005824/0.1686, allocations: 4.299 MB / 0.7162 GB, free: 9.254 MB / 0.4982 GB Notification: Performance of NFInst.instExpressions: time 0.002204/0.1709, allocations: 1.252 MB / 0.7174 GB, free: 8 MB / 0.4982 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002332/0.1711, allocations: 4 kB / 0.7174 GB, free: 7.996 MB / 0.4982 GB Notification: Performance of NFTyping.typeComponents: time 0.000364/0.1715, allocations: 122.9 kB / 0.7175 GB, free: 7.875 MB / 0.4982 GB Notification: Performance of NFTyping.typeBindings: time 0.000505/0.172, allocations: 262.1 kB / 0.7178 GB, free: 7.617 MB / 0.4982 GB Notification: Performance of NFTyping.typeClassSections: time 0.001064/0.1731, allocations: 0.5402 MB / 0.7183 GB, free: 7.078 MB / 0.4982 GB Notification: Performance of NFFlatten.flatten: time 0.0007856/0.1739, allocations: 0.8374 MB / 0.7191 GB, free: 6.234 MB / 0.4982 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000286/0.1742, allocations: 169 kB / 0.7193 GB, free: 6.059 MB / 0.4982 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003626/0.1745, allocations: 350.7 kB / 0.7196 GB, free: 5.715 MB / 0.4982 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005471/0.1751, allocations: 442.2 kB / 0.7201 GB, free: 5.281 MB / 0.4982 GB Notification: Performance of NFPackage.collectConstants: time 8.935e-05/0.1752, allocations: 68 kB / 0.7201 GB, free: 5.215 MB / 0.4982 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002249/0.1754, allocations: 124 kB / 0.7202 GB, free: 5.094 MB / 0.4982 GB Notification: Performance of NFScalarize.scalarize: time 0.0001549/0.1756, allocations: 175.3 kB / 0.7204 GB, free: 4.922 MB / 0.4982 GB Notification: Performance of NFVerifyModel.verify: time 0.0003136/0.1759, allocations: 358.1 kB / 0.7208 GB, free: 4.57 MB / 0.4982 GB Notification: Performance of NFConvertDAE.convert: time 0.0008291/0.1767, allocations: 0.8369 MB / 0.7216 GB, free: 3.73 MB / 0.4982 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.1768, allocations: 4 kB / 0.7216 GB, free: 3.727 MB / 0.4982 GB Notification: Performance of FrontEnd: time 1.904e-06/0.1768, allocations: 0 / 0.7216 GB, free: 3.727 MB / 0.4982 GB Notification: Performance of Transformations before backend: time 1.332e-05/0.1768, allocations: 3.984 kB / 0.7216 GB, free: 3.723 MB / 0.4982 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.003323/0.1801, allocations: 1.211 MB / 0.7228 GB, free: 2.461 MB / 0.4982 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.1802, allocations: 8.031 kB / 0.7228 GB, free: 2.453 MB / 0.4982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001037/0.1812, allocations: 192 kB / 0.7229 GB, free: 2.266 MB / 0.4982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007614/0.182, allocations: 488.9 kB / 0.7234 GB, free: 1.746 MB / 0.4982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001061/0.1821, allocations: 66.7 kB / 0.7235 GB, free: 1.676 MB / 0.4982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.046e-05/0.1822, allocations: 47.91 kB / 0.7235 GB, free: 1.629 MB / 0.4982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001024/0.1832, allocations: 0.5582 MB / 0.7241 GB, free: 1.051 MB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.963e-05/0.1832, allocations: 0 / 0.7241 GB, free: 1.051 MB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.117e-05/0.1833, allocations: 16 kB / 0.7241 GB, free: 1.035 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.239e-05/0.1833, allocations: 12 kB / 0.7241 GB, free: 1.023 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00102/0.1843, allocations: 495.7 kB / 0.7246 GB, free: 0.5391 MB / 0.4982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003511/0.1879, allocations: 2.069 MB / 0.7266 GB, free: 14.37 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0011/0.189, allocations: 0.6303 MB / 0.7272 GB, free: 13.68 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005722/0.1896, allocations: 286.9 kB / 0.7275 GB, free: 13.39 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 5.702e-05/0.1896, allocations: 12.44 kB / 0.7275 GB, free: 13.38 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.699e-05/0.1897, allocations: 39 kB / 0.7275 GB, free: 13.33 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=51): time 3.116e-06/0.1897, allocations: 7.922 kB / 0.7275 GB, free: 13.32 MB / 0.5138 GB Notification: Performance of matching and sorting (n=52): time 0.009548/0.1992, allocations: 2.846 MB / 0.7303 GB, free: 10.39 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.613e-05/0.1993, allocations: 89.48 kB / 0.7304 GB, free: 10.29 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006438/0.2, allocations: 0.4903 MB / 0.7309 GB, free: 9.789 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 4.707e-05/0.2, allocations: 33.7 kB / 0.7309 GB, free: 9.75 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002269/0.2003, allocations: 284.2 kB / 0.7312 GB, free: 9.465 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001786/0.2005, allocations: 189.2 kB / 0.7314 GB, free: 9.277 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001944/0.2007, allocations: 86.25 kB / 0.7314 GB, free: 9.188 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001824/0.2008, allocations: 378.7 kB / 0.7318 GB, free: 8.809 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005275/0.2014, allocations: 229 kB / 0.732 GB, free: 8.586 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006046/0.202, allocations: 345.1 kB / 0.7324 GB, free: 8.211 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001142/0.2031, allocations: 0.5934 MB / 0.7329 GB, free: 7.578 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.2032, allocations: 0 / 0.7329 GB, free: 7.578 MB / 0.5138 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.008344/0.2115, allocations: 1.74 MB / 0.7346 GB, free: 5.828 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 2.573e-05/0.2115, allocations: 8 kB / 0.7346 GB, free: 5.82 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.2116, allocations: 0 / 0.7346 GB, free: 5.82 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007595/0.2192, allocations: 1.179 MB / 0.7358 GB, free: 4.637 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004799/0.2197, allocations: 103.8 kB / 0.7359 GB, free: 4.535 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01248/0.2321, allocations: 6.246 MB / 0.742 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006863/0.2328, allocations: 35.97 kB / 0.742 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.477e-05/0.2329, allocations: 20 kB / 0.742 GB, free: 13.96 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 0 systems * Non-linear Jacobian (size): 1 system {1} * 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,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0003063/0.2332, allocations: 177.8 kB / 0.7422 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001348/0.2334, allocations: 63.19 kB / 0.7423 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004659/0.238, allocations: 1.319 MB / 0.7436 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.238, allocations: 4 kB / 0.7436 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.431e-05/0.2381, allocations: 11.94 kB / 0.7436 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.2381, allocations: 7.922 kB / 0.7436 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005661/0.2437, allocations: 2.103 MB / 0.7456 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.175e-06/0.2438, allocations: 128 / 0.7456 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000443/0.2442, allocations: 87.89 kB / 0.7457 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00271/0.2469, allocations: 0.587 MB / 0.7463 GB, free: 9.484 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.193e-05/0.247, allocations: 12 kB / 0.7463 GB, free: 9.473 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00728/0.2543, allocations: 4.742 MB / 0.7509 GB, free: 4.453 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.2543, allocations: 3.984 kB / 0.7509 GB, free: 4.449 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005225/0.2595, allocations: 1.785 MB / 0.7527 GB, free: 2.641 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001374/0.2597, allocations: 144.4 kB / 0.7528 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.36e-05/0.2598, allocations: 8 kB / 0.7528 GB, free: 2.473 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000554/0.2603, allocations: 31.97 kB / 0.7529 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000192/0.2605, allocations: 68.28 kB / 0.7529 GB, free: 2.375 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.154e-05/0.2606, allocations: 12 kB / 0.7529 GB, free: 2.363 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004114/0.261, allocations: 354.9 kB / 0.7533 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.261, allocations: 0 / 0.7533 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007681/0.2618, allocations: 196 kB / 0.7535 GB, free: 1.828 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (Inf.delta,Inf.eq,SPIM.Rotor_Inertia.w,SPIM.speed.phi,Inf.omega) * 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 (37): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (4,10,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001782/0.262, allocations: 116.7 kB / 0.7536 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002245/0.2642, allocations: 0.8924 MB / 0.7544 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.2642, allocations: 4 kB / 0.7544 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001485/0.2657, allocations: 0.6912 MB / 0.7551 GB, free: 84 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005855/0.2663, allocations: 68.08 kB / 0.7552 GB, free: 16 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002118/0.2684, allocations: 1.278 MB / 0.7564 GB, free: 14.71 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005597/0.269, allocations: 0.8833 MB / 0.7573 GB, free: 13.79 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001923/0.2692, allocations: 52.36 kB / 0.7573 GB, free: 13.74 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001445/0.2694, allocations: 39.42 kB / 0.7574 GB, free: 13.7 MB / 0.545 GB Notification: Performance of SimCode: time 2.51e-07/0.2694, allocations: 4 kB / 0.7574 GB, free: 13.7 MB / 0.545 GB Notification: Performance of Templates: time 0.01901/0.2884, allocations: 12.48 MB / 0.7696 GB, free: 1.254 MB / 0.545 GB make -j1 -f OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM.makefile (rm -f OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM.pipe ; mkfifo OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM.pipe ; head -c 1048576 < OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM.pipe >> ../files/OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM.sim & ./OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM.pipe 2>&1)