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.5475/0.5475, allocations: 78.54 MB / 94.17 MB, free: 3.867 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.001084/0.001084, allocations: 108.9 kB / 113.7 MB, free: 9.793 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.001299/0.0013, allocations: 188.5 kB / 133.4 MB, free: 6.145 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.504/1.504, allocations: 222.9 MB / 375.8 MB, free: 3.734 MB / 270.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIMDML 1.0.0-main/package.mo): time 0.7359/0.7359, allocations: 62.26 MB / 0.4951 GB, free: 7.848 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002125/0.002125, allocations: 133.9 kB / 0.6441 GB, free: 14.46 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1493, allocations: 69.5 MB / 0.712 GB, free: 13.45 MB / 0.4982 GB Notification: Performance of NFInst.instantiate(OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM): time 0.005523/0.1549, allocations: 4.304 MB / 0.7162 GB, free: 9.129 MB / 0.4982 GB Notification: Performance of NFInst.instExpressions: time 0.003401/0.1584, allocations: 1.256 MB / 0.7174 GB, free: 7.871 MB / 0.4982 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000788/0.1592, allocations: 7.938 kB / 0.7174 GB, free: 7.863 MB / 0.4982 GB Notification: Performance of NFTyping.typeComponents: time 0.0006855/0.1599, allocations: 119 kB / 0.7175 GB, free: 7.746 MB / 0.4982 GB Notification: Performance of NFTyping.typeBindings: time 0.001077/0.161, allocations: 258.2 kB / 0.7178 GB, free: 7.492 MB / 0.4982 GB Notification: Performance of NFTyping.typeClassSections: time 0.001434/0.1625, allocations: 0.5439 MB / 0.7183 GB, free: 6.949 MB / 0.4982 GB Notification: Performance of NFFlatten.flatten: time 0.001472/0.164, allocations: 0.8373 MB / 0.7191 GB, free: 6.105 MB / 0.4982 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004478/0.1644, allocations: 161.1 kB / 0.7193 GB, free: 5.938 MB / 0.4982 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007587/0.1652, allocations: 358.6 kB / 0.7196 GB, free: 5.586 MB / 0.4982 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009037/0.1661, allocations: 434.3 kB / 0.7201 GB, free: 5.16 MB / 0.4982 GB Notification: Performance of NFPackage.collectConstants: time 0.0002348/0.1664, allocations: 68 kB / 0.7201 GB, free: 5.094 MB / 0.4982 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000447/0.1668, allocations: 135.9 kB / 0.7202 GB, free: 4.961 MB / 0.4982 GB Notification: Performance of NFScalarize.scalarize: time 0.000178/0.167, allocations: 171.3 kB / 0.7204 GB, free: 4.793 MB / 0.4982 GB Notification: Performance of NFVerifyModel.verify: time 0.000381/0.1674, allocations: 354.1 kB / 0.7207 GB, free: 4.445 MB / 0.4982 GB Notification: Performance of NFConvertDAE.convert: time 0.001138/0.1685, allocations: 0.8441 MB / 0.7216 GB, free: 3.598 MB / 0.4982 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.1686, allocations: 0 / 0.7216 GB, free: 3.598 MB / 0.4982 GB Notification: Performance of FrontEnd: time 2.375e-06/0.1686, allocations: 0 / 0.7216 GB, free: 3.598 MB / 0.4982 GB Notification: Performance of Transformations before backend: time 1.236e-05/0.1686, allocations: 0 / 0.7216 GB, free: 3.598 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.003435/0.172, allocations: 1.238 MB / 0.7228 GB, free: 2.309 MB / 0.4982 GB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.1721, allocations: 8.031 kB / 0.7228 GB, free: 2.301 MB / 0.4982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009821/0.1731, allocations: 192.3 kB / 0.723 GB, free: 2.113 MB / 0.4982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008033/0.1739, allocations: 0.4935 MB / 0.7235 GB, free: 1.578 MB / 0.4982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001059/0.174, allocations: 58.7 kB / 0.7235 GB, free: 1.516 MB / 0.4982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.123e-05/0.1741, allocations: 47.94 kB / 0.7236 GB, free: 1.469 MB / 0.4982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000979/0.1751, allocations: 0.5505 MB / 0.7241 GB, free: 0.8984 MB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.277e-05/0.1751, allocations: 7.984 kB / 0.7241 GB, free: 0.8906 MB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.994e-05/0.1752, allocations: 16 kB / 0.7241 GB, free: 0.875 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/0.1752, allocations: 11.98 kB / 0.7241 GB, free: 0.8633 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009969/0.1762, allocations: 499.7 kB / 0.7246 GB, free: 384 kB / 0.4982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003485/0.1797, allocations: 2.081 MB / 0.7266 GB, free: 14.19 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/0.1808, allocations: 0.6225 MB / 0.7272 GB, free: 13.51 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005382/0.1813, allocations: 282.9 kB / 0.7275 GB, free: 13.23 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 6.121e-05/0.1814, allocations: 8.422 kB / 0.7275 GB, free: 13.22 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.156e-05/0.1814, allocations: 46.94 kB / 0.7276 GB, free: 13.16 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=51): time 2.815e-06/0.1814, allocations: 0 / 0.7276 GB, free: 13.16 MB / 0.5138 GB Notification: Performance of matching and sorting (n=52): time 0.009115/0.1905, allocations: 2.856 MB / 0.7304 GB, free: 10.23 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.927e-05/0.1906, allocations: 89.53 kB / 0.7304 GB, free: 10.12 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006451/0.1913, allocations: 0.4942 MB / 0.7309 GB, free: 9.617 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 4.796e-05/0.1913, allocations: 33.7 kB / 0.731 GB, free: 9.578 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002314/0.1916, allocations: 292.5 kB / 0.7312 GB, free: 9.285 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001738/0.1918, allocations: 194.3 kB / 0.7314 GB, free: 9.094 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001602/0.1919, allocations: 90.25 kB / 0.7315 GB, free: 9 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001819/0.1921, allocations: 370.7 kB / 0.7319 GB, free: 8.629 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004839/0.1926, allocations: 233 kB / 0.7321 GB, free: 8.402 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005784/0.1932, allocations: 345 kB / 0.7324 GB, free: 8.027 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001087/0.1943, allocations: 0.5973 MB / 0.733 GB, free: 7.391 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1943, allocations: 0 / 0.733 GB, free: 7.391 MB / 0.5138 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.008172/0.2025, allocations: 1.745 MB / 0.7347 GB, free: 5.637 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 3.038e-05/0.2025, allocations: 11.94 kB / 0.7347 GB, free: 5.625 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.2026, allocations: 0 / 0.7347 GB, free: 5.625 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007428/0.21, allocations: 1.171 MB / 0.7359 GB, free: 4.449 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00051/0.2105, allocations: 103.9 kB / 0.736 GB, free: 4.348 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01213/0.2227, allocations: 6.25 MB / 0.7421 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007598/0.2235, allocations: 31.97 kB / 0.7421 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.469e-05/0.2235, allocations: 32.08 kB / 0.7421 GB, free: 13.76 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.0003053/0.2238, allocations: 165.8 kB / 0.7423 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001375/0.224, allocations: 67.56 kB / 0.7423 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004296/0.2283, allocations: 1.327 MB / 0.7436 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/0.2283, allocations: 4 kB / 0.7436 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.058e-05/0.2283, allocations: 7.938 kB / 0.7436 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.15e-05/0.2284, allocations: 3.984 kB / 0.7437 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005324/0.2337, allocations: 2.118 MB / 0.7457 GB, free: 9.957 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.2337, allocations: 0 / 0.7457 GB, free: 9.957 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004443/0.2342, allocations: 75.89 kB / 0.7458 GB, free: 9.883 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002558/0.2367, allocations: 0.5948 MB / 0.7464 GB, free: 9.281 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.713e-05/0.2368, allocations: 12 kB / 0.7464 GB, free: 9.27 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007017/0.2438, allocations: 4.751 MB / 0.751 GB, free: 4.242 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.2438, allocations: 4.062 kB / 0.751 GB, free: 4.238 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005022/0.2489, allocations: 1.789 MB / 0.7528 GB, free: 2.426 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002827/0.2492, allocations: 136.7 kB / 0.7529 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.709e-05/0.2493, allocations: 12 kB / 0.7529 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005508/0.2498, allocations: 27.97 kB / 0.7529 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002301/0.2501, allocations: 68.28 kB / 0.753 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-05/0.2501, allocations: 15.98 kB / 0.753 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004317/0.2506, allocations: 358.9 kB / 0.7534 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2506, allocations: 4 kB / 0.7534 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008849/0.2515, allocations: 199.9 kB / 0.7536 GB, free: 1.605 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.0002679/0.2517, allocations: 108.7 kB / 0.7537 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002405/0.2542, allocations: 0.9001 MB / 0.7545 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.2542, allocations: 0 / 0.7545 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001471/0.2557, allocations: 0.6873 MB / 0.7552 GB, free: 15.87 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000714/0.2564, allocations: 65.83 kB / 0.7553 GB, free: 15.8 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002628/0.259, allocations: 1.293 MB / 0.7565 GB, free: 14.47 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005701/0.2596, allocations: 0.8794 MB / 0.7574 GB, free: 13.56 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002076/0.2598, allocations: 56.34 kB / 0.7575 GB, free: 13.5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001399/0.26, allocations: 43.42 kB / 0.7575 GB, free: 13.46 MB / 0.545 GB Notification: Performance of SimCode: time 4.31e-07/0.26, allocations: 0 / 0.7575 GB, free: 13.46 MB / 0.545 GB Notification: Performance of Templates: time 0.02123/0.2812, allocations: 12.49 MB / 0.7697 GB, free: 1.016 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)