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.4201/0.4201, allocations: 78.53 MB / 94.17 MB, free: 3.887 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.001114/0.001113, allocations: 109.6 kB / 113.7 MB, free: 9.797 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.00152/0.00152, allocations: 187.5 kB / 133.4 MB, free: 6.152 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.44/1.44, allocations: 222.9 MB / 375.8 MB, free: 3.754 MB / 270.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIMDML 1.0.0-main/package.mo): time 0.689/0.689, allocations: 62.26 MB / 0.4951 GB, free: 7.836 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003781/0.003781, allocations: 131.6 kB / 0.6441 GB, free: 14.47 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1539, allocations: 69.51 MB / 0.712 GB, free: 13.45 MB / 0.4982 GB Notification: Performance of NFInst.instantiate(OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM): time 0.00525/0.1592, allocations: 4.305 MB / 0.7162 GB, free: 9.117 MB / 0.4982 GB Notification: Performance of NFInst.instExpressions: time 0.002244/0.1615, allocations: 1.248 MB / 0.7174 GB, free: 7.867 MB / 0.4982 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002493/0.1618, allocations: 12 kB / 0.7174 GB, free: 7.855 MB / 0.4982 GB Notification: Performance of NFTyping.typeComponents: time 0.0003686/0.1622, allocations: 123 kB / 0.7175 GB, free: 7.734 MB / 0.4982 GB Notification: Performance of NFTyping.typeBindings: time 0.0005116/0.1627, allocations: 238.2 kB / 0.7178 GB, free: 7.5 MB / 0.4982 GB Notification: Performance of NFTyping.typeClassSections: time 0.00109/0.1638, allocations: 0.5399 MB / 0.7183 GB, free: 6.961 MB / 0.4982 GB Notification: Performance of NFFlatten.flatten: time 0.000848/0.1647, allocations: 0.8374 MB / 0.7191 GB, free: 6.117 MB / 0.4982 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002997/0.165, allocations: 165.1 kB / 0.7193 GB, free: 5.945 MB / 0.4982 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000367/0.1653, allocations: 354.7 kB / 0.7196 GB, free: 5.598 MB / 0.4982 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005683/0.1659, allocations: 438.2 kB / 0.72 GB, free: 5.168 MB / 0.4982 GB Notification: Performance of NFPackage.collectConstants: time 0.00011/0.166, allocations: 68 kB / 0.7201 GB, free: 5.102 MB / 0.4982 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002569/0.1663, allocations: 128 kB / 0.7202 GB, free: 4.977 MB / 0.4982 GB Notification: Performance of NFScalarize.scalarize: time 0.0001526/0.1665, allocations: 175.3 kB / 0.7204 GB, free: 4.805 MB / 0.4982 GB Notification: Performance of NFVerifyModel.verify: time 0.0003093/0.1668, allocations: 354.1 kB / 0.7207 GB, free: 4.457 MB / 0.4982 GB Notification: Performance of NFConvertDAE.convert: time 0.0009474/0.1678, allocations: 0.8442 MB / 0.7215 GB, free: 3.609 MB / 0.4982 GB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.1678, allocations: 0 / 0.7215 GB, free: 3.609 MB / 0.4982 GB Notification: Performance of FrontEnd: time 1.934e-06/0.1678, allocations: 0 / 0.7215 GB, free: 3.609 MB / 0.4982 GB Notification: Performance of Transformations before backend: time 1.139e-05/0.1678, allocations: 0 / 0.7215 GB, free: 3.609 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.003223/0.171, allocations: 1.242 MB / 0.7228 GB, free: 2.316 MB / 0.4982 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.1711, allocations: 8.031 kB / 0.7228 GB, free: 2.309 MB / 0.4982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009897/0.1721, allocations: 196.3 kB / 0.723 GB, free: 2.117 MB / 0.4982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000733/0.1728, allocations: 497.4 kB / 0.7234 GB, free: 1.59 MB / 0.4982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.663e-05/0.1729, allocations: 62.69 kB / 0.7235 GB, free: 1.523 MB / 0.4982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.191e-05/0.173, allocations: 47.94 kB / 0.7235 GB, free: 1.477 MB / 0.4982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009989/0.174, allocations: 0.5466 MB / 0.7241 GB, free: 0.9102 MB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.269e-05/0.174, allocations: 4 kB / 0.7241 GB, free: 0.9062 MB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.165e-05/0.1741, allocations: 16 kB / 0.7241 GB, free: 0.8906 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.1741, allocations: 8 kB / 0.7241 GB, free: 0.8828 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009965/0.1751, allocations: 499.7 kB / 0.7246 GB, free: 404 kB / 0.4982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00324/0.1784, allocations: 2.085 MB / 0.7266 GB, free: 14.21 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009868/0.1794, allocations: 0.6187 MB / 0.7272 GB, free: 13.53 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005352/0.1799, allocations: 290.9 kB / 0.7275 GB, free: 13.24 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 6.289e-05/0.18, allocations: 8.375 kB / 0.7275 GB, free: 13.23 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.097e-05/0.18, allocations: 42.98 kB / 0.7275 GB, free: 13.18 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=51): time 2.124e-06/0.18, allocations: 0 / 0.7275 GB, free: 13.18 MB / 0.5138 GB Notification: Performance of matching and sorting (n=52): time 0.008943/0.189, allocations: 2.856 MB / 0.7303 GB, free: 10.24 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.115e-05/0.1891, allocations: 85.55 kB / 0.7304 GB, free: 10.14 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006293/0.1897, allocations: 0.4942 MB / 0.7309 GB, free: 9.637 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 4.721e-05/0.1897, allocations: 37.7 kB / 0.7309 GB, free: 9.594 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001955/0.1899, allocations: 288.5 kB / 0.7312 GB, free: 9.305 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001578/0.1901, allocations: 194.3 kB / 0.7314 GB, free: 9.113 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001714/0.1903, allocations: 94.23 kB / 0.7315 GB, free: 9.016 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.1905, allocations: 366.7 kB / 0.7318 GB, free: 8.648 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005082/0.191, allocations: 240.9 kB / 0.7321 GB, free: 8.414 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005795/0.1916, allocations: 341.1 kB / 0.7324 GB, free: 8.043 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001111/0.1927, allocations: 0.5934 MB / 0.733 GB, free: 7.41 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.1927, allocations: 11.94 kB / 0.733 GB, free: 7.398 MB / 0.5138 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.007822/0.2005, allocations: 1.741 MB / 0.7347 GB, free: 5.648 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 2.687e-05/0.2006, allocations: 8 kB / 0.7347 GB, free: 5.641 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.2006, allocations: 4.219 kB / 0.7347 GB, free: 5.637 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007231/0.2078, allocations: 1.171 MB / 0.7358 GB, free: 4.461 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004961/0.2084, allocations: 103.9 kB / 0.7359 GB, free: 4.359 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01177/0.2201, allocations: 6.251 MB / 0.742 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006953/0.2209, allocations: 39.97 kB / 0.7421 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.701e-05/0.2209, allocations: 23.98 kB / 0.7421 GB, free: 13.77 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.0002785/0.2212, allocations: 177.8 kB / 0.7423 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001269/0.2214, allocations: 63.56 kB / 0.7423 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004406/0.2258, allocations: 1.323 MB / 0.7436 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.2258, allocations: 8 kB / 0.7436 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.2258, allocations: 7.938 kB / 0.7436 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.2258, allocations: 0 / 0.7436 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005274/0.2311, allocations: 2.122 MB / 0.7457 GB, free: 9.965 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.2311, allocations: 4 kB / 0.7457 GB, free: 9.961 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004228/0.2315, allocations: 75.89 kB / 0.7458 GB, free: 9.887 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002533/0.2341, allocations: 0.5909 MB / 0.7464 GB, free: 9.289 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.103e-05/0.2341, allocations: 8 kB / 0.7464 GB, free: 9.281 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007081/0.2412, allocations: 4.751 MB / 0.751 GB, free: 4.254 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.2412, allocations: 0 / 0.751 GB, free: 4.254 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004989/0.2462, allocations: 1.789 MB / 0.7527 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002284/0.2465, allocations: 140.7 kB / 0.7529 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/0.2466, allocations: 12 kB / 0.7529 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005752/0.2472, allocations: 27.97 kB / 0.7529 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000234/0.2474, allocations: 72.22 kB / 0.753 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-05/0.2475, allocations: 15.98 kB / 0.753 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0006123/0.2481, allocations: 358.9 kB / 0.7533 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2481, allocations: 0 / 0.7533 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008537/0.249, allocations: 200 kB / 0.7535 GB, free: 1.617 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.0002045/0.2492, allocations: 112.7 kB / 0.7536 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002343/0.2515, allocations: 0.8962 MB / 0.7545 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/0.2516, allocations: 0 / 0.7545 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001476/0.253, allocations: 0.6834 MB / 0.7552 GB, free: 15.88 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006456/0.2537, allocations: 65.83 kB / 0.7552 GB, free: 15.82 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002437/0.2561, allocations: 1.3 MB / 0.7565 GB, free: 14.48 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004824/0.2566, allocations: 0.8833 MB / 0.7574 GB, free: 13.57 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002305/0.2569, allocations: 60.34 kB / 0.7574 GB, free: 13.5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001383/0.257, allocations: 35.44 kB / 0.7575 GB, free: 13.47 MB / 0.545 GB Notification: Performance of SimCode: time 3.4e-07/0.257, allocations: 0 / 0.7575 GB, free: 13.47 MB / 0.545 GB Notification: Performance of Templates: time 0.02179/0.2788, allocations: 12.5 MB / 0.7697 GB, free: 1.02 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)