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.5655/0.5655, allocations: 78.54 MB / 94.84 MB, free: 3.875 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.001096/0.001096, allocations: 106 kB / 114.4 MB, free: 9.805 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.00135/0.00135, allocations: 192.1 kB / 134.1 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.35/1.35, allocations: 222.9 MB / 376.5 MB, free: 3.758 MB / 270.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIMDML 1.0.0-main/package.mo): time 0.6588/0.6588, allocations: 62.26 MB / 0.4957 GB, free: 7.887 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002322/0.002322, allocations: 127.3 kB / 0.6448 GB, free: 14.47 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1331, allocations: 69.51 MB / 0.7127 GB, free: 13.44 MB / 0.4982 GB Notification: Performance of NFInst.instantiate(OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM): time 0.006021/0.1391, allocations: 4.305 MB / 0.7169 GB, free: 9.109 MB / 0.4982 GB Notification: Performance of NFInst.instExpressions: time 0.002722/0.1419, allocations: 1.252 MB / 0.7181 GB, free: 7.855 MB / 0.4982 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006678/0.1426, allocations: 4 kB / 0.7181 GB, free: 7.852 MB / 0.4982 GB Notification: Performance of NFTyping.typeComponents: time 0.0005297/0.1431, allocations: 126.9 kB / 0.7182 GB, free: 7.727 MB / 0.4982 GB Notification: Performance of NFTyping.typeBindings: time 0.0009086/0.1441, allocations: 250.2 kB / 0.7185 GB, free: 7.48 MB / 0.4982 GB Notification: Performance of NFTyping.typeClassSections: time 0.001227/0.1453, allocations: 0.5441 MB / 0.719 GB, free: 6.938 MB / 0.4982 GB Notification: Performance of NFFlatten.flatten: time 0.001101/0.1465, allocations: 0.8413 MB / 0.7198 GB, free: 6.09 MB / 0.4982 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003223/0.1468, allocations: 165.1 kB / 0.72 GB, free: 5.918 MB / 0.4982 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005713/0.1474, allocations: 346.7 kB / 0.7203 GB, free: 5.578 MB / 0.4982 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007098/0.1481, allocations: 450.2 kB / 0.7207 GB, free: 5.137 MB / 0.4982 GB Notification: Performance of NFPackage.collectConstants: time 0.0001656/0.1483, allocations: 68 kB / 0.7208 GB, free: 5.07 MB / 0.4982 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003021/0.1486, allocations: 128 kB / 0.7209 GB, free: 4.945 MB / 0.4982 GB Notification: Performance of NFScalarize.scalarize: time 0.0001586/0.1487, allocations: 167.3 kB / 0.7211 GB, free: 4.781 MB / 0.4982 GB Notification: Performance of NFVerifyModel.verify: time 0.0003914/0.1491, allocations: 358.1 kB / 0.7214 GB, free: 4.43 MB / 0.4982 GB Notification: Performance of NFConvertDAE.convert: time 0.00108/0.1502, allocations: 0.8408 MB / 0.7222 GB, free: 3.586 MB / 0.4982 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1503, allocations: 4 kB / 0.7222 GB, free: 3.582 MB / 0.4982 GB Notification: Performance of FrontEnd: time 2.014e-06/0.1503, allocations: 0 / 0.7222 GB, free: 3.582 MB / 0.4982 GB Notification: Performance of Transformations before backend: time 3.516e-05/0.1503, allocations: 0 / 0.7222 GB, free: 3.582 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.004059/0.1544, allocations: 1.215 MB / 0.7234 GB, free: 2.316 MB / 0.4982 GB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.1544, allocations: 8.031 kB / 0.7234 GB, free: 2.309 MB / 0.4982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001088/0.1555, allocations: 188 kB / 0.7236 GB, free: 2.125 MB / 0.4982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009365/0.1565, allocations: 492.9 kB / 0.7241 GB, free: 1.602 MB / 0.4982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001039/0.1566, allocations: 62.7 kB / 0.7241 GB, free: 1.535 MB / 0.4982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001162/0.1567, allocations: 55.88 kB / 0.7242 GB, free: 1.48 MB / 0.4982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0011/0.1578, allocations: 0.5466 MB / 0.7247 GB, free: 0.9141 MB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.461e-05/0.1578, allocations: 0 / 0.7247 GB, free: 0.9141 MB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.269e-05/0.1579, allocations: 16 kB / 0.7247 GB, free: 0.8984 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.519e-05/0.1579, allocations: 12 kB / 0.7248 GB, free: 0.8867 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001089/0.159, allocations: 491.7 kB / 0.7252 GB, free: 416 kB / 0.4982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004094/0.1631, allocations: 2.081 MB / 0.7273 GB, free: 14.22 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001106/0.1643, allocations: 0.632 MB / 0.7279 GB, free: 13.53 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005496/0.1648, allocations: 290.8 kB / 0.7281 GB, free: 13.24 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 6.238e-05/0.1649, allocations: 12.42 kB / 0.7282 GB, free: 13.23 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/0.1649, allocations: 35 kB / 0.7282 GB, free: 13.19 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=51): time 3.246e-06/0.1649, allocations: 0 / 0.7282 GB, free: 13.19 MB / 0.5138 GB Notification: Performance of matching and sorting (n=52): time 0.009462/0.1744, allocations: 2.846 MB / 0.731 GB, free: 10.26 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.643e-05/0.1745, allocations: 85.48 kB / 0.7311 GB, free: 10.16 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007331/0.1753, allocations: 0.4942 MB / 0.7315 GB, free: 9.652 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 6.883e-05/0.1753, allocations: 37.64 kB / 0.7316 GB, free: 9.609 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002179/0.1756, allocations: 284.2 kB / 0.7318 GB, free: 9.324 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002124/0.1758, allocations: 189.2 kB / 0.732 GB, free: 9.137 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001797/0.176, allocations: 90.25 kB / 0.7321 GB, free: 9.043 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.1761, allocations: 370.7 kB / 0.7325 GB, free: 8.672 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005216/0.1767, allocations: 237 kB / 0.7327 GB, free: 8.441 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005697/0.1772, allocations: 337.1 kB / 0.733 GB, free: 8.074 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001137/0.1784, allocations: 0.6012 MB / 0.7336 GB, free: 7.434 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.1784, allocations: 0 / 0.7336 GB, free: 7.434 MB / 0.5138 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.008378/0.1868, allocations: 1.74 MB / 0.7353 GB, free: 5.684 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 2.944e-05/0.1869, allocations: 7.984 kB / 0.7353 GB, free: 5.676 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/0.1869, allocations: 4 kB / 0.7353 GB, free: 5.672 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007872/0.1948, allocations: 1.176 MB / 0.7365 GB, free: 4.492 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005296/0.1953, allocations: 95.81 kB / 0.7365 GB, free: 4.398 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0125/0.2078, allocations: 6.251 MB / 0.7427 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007038/0.2086, allocations: 35.97 kB / 0.7427 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.115e-05/0.2087, allocations: 20 kB / 0.7427 GB, free: 13.82 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.0003001/0.209, allocations: 181.8 kB / 0.7429 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001675/0.2091, allocations: 63.19 kB / 0.7429 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004316/0.2135, allocations: 1.315 MB / 0.7442 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.956e-06/0.2135, allocations: 8 kB / 0.7442 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.097e-05/0.2135, allocations: 11.94 kB / 0.7442 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/0.2135, allocations: 3.984 kB / 0.7442 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005529/0.2191, allocations: 2.107 MB / 0.7463 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.2191, allocations: 0 / 0.7463 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004809/0.2196, allocations: 79.89 kB / 0.7464 GB, free: 9.941 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002679/0.2223, allocations: 0.5948 MB / 0.747 GB, free: 9.34 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.31e-05/0.2224, allocations: 8 kB / 0.747 GB, free: 9.332 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00728/0.2296, allocations: 4.746 MB / 0.7516 GB, free: 4.309 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.2297, allocations: 4 kB / 0.7516 GB, free: 4.305 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005114/0.2348, allocations: 1.785 MB / 0.7534 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002585/0.2351, allocations: 144.4 kB / 0.7535 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000138/0.2353, allocations: 12 kB / 0.7535 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006307/0.2359, allocations: 27.97 kB / 0.7535 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002218/0.2361, allocations: 68.28 kB / 0.7536 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.488e-05/0.2362, allocations: 12 kB / 0.7536 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004882/0.2367, allocations: 358.9 kB / 0.7539 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2367, allocations: 0 / 0.7539 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008891/0.2376, allocations: 192 kB / 0.7541 GB, free: 1.684 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.0002275/0.2378, allocations: 121 kB / 0.7542 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002374/0.2402, allocations: 0.8885 MB / 0.7551 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.2402, allocations: 0 / 0.7551 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001474/0.2417, allocations: 0.6873 MB / 0.7558 GB, free: 15.95 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006946/0.2424, allocations: 65.89 kB / 0.7558 GB, free: 15.88 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002631/0.2451, allocations: 1.302 MB / 0.7571 GB, free: 14.54 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004768/0.2456, allocations: 0.8833 MB / 0.758 GB, free: 13.62 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001886/0.2458, allocations: 43.42 kB / 0.758 GB, free: 13.58 MB / 0.545 GB Notification: Performance of SimCode: time 1.753e-06/0.2458, allocations: 0 / 0.758 GB, free: 13.58 MB / 0.545 GB Notification: Performance of Templates: time 0.018/0.2638, allocations: 12.43 MB / 0.7702 GB, free: 1.148 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)