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.5103/0.5103, allocations: 78.54 MB / 94.04 MB, free: 3.965 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.001031/0.001031, allocations: 110 kB / 113.6 MB, free: 9.891 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.001385/0.001385, allocations: 192.5 kB / 133.3 MB, free: 6.246 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.336/1.336, allocations: 222.9 MB / 375.7 MB, free: 3.863 MB / 270.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIMDML 1.0.0-main/package.mo): time 0.6945/0.6945, allocations: 62.53 MB / 0.4952 GB, free: 8.277 MB / 366.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.002435/0.002435, allocations: 128.4 kB / 0.5752 GB, free: 6.375 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4942/0.4966, allocations: 69.5 MB / 0.6431 GB, free: 17.95 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM): time 0.004657/0.5013, allocations: 4.304 MB / 0.6473 GB, free: 14.52 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001954/0.5033, allocations: 1.243 MB / 0.6485 GB, free: 13.5 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002596/0.5036, allocations: 8.969 kB / 0.6485 GB, free: 13.5 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003267/0.5039, allocations: 126.9 kB / 0.6487 GB, free: 13.39 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004157/0.5043, allocations: 238.7 kB / 0.6489 GB, free: 13.18 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009147/0.5052, allocations: 0.5351 MB / 0.6494 GB, free: 12.78 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006797/0.5059, allocations: 0.8413 MB / 0.6502 GB, free: 12.27 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002464/0.5062, allocations: 164.8 kB / 0.6504 GB, free: 12.19 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003137/0.5065, allocations: 346.1 kB / 0.6507 GB, free: 11.99 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004711/0.507, allocations: 449.2 kB / 0.6511 GB, free: 11.68 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001077/0.5071, allocations: 67.38 kB / 0.6512 GB, free: 11.68 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002405/0.5074, allocations: 129.7 kB / 0.6513 GB, free: 11.66 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001349/0.5075, allocations: 175.9 kB / 0.6515 GB, free: 11.5 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002615/0.5078, allocations: 351.5 kB / 0.6518 GB, free: 11.25 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007238/0.5085, allocations: 0.8332 MB / 0.6527 GB, free: 10.62 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.5085, allocations: 0 / 0.6527 GB, free: 10.62 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.5085, allocations: 0 / 0.6527 GB, free: 10.62 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.4e-05/0.5085, allocations: 0 / 0.6527 GB, free: 10.62 MB / 446.1 MB 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.003074/0.5116, allocations: 1.21 MB / 0.6538 GB, free: 9.746 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.5117, allocations: 13.31 kB / 0.6538 GB, free: 9.742 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009354/0.5126, allocations: 188.6 kB / 0.654 GB, free: 9.66 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000541/0.5132, allocations: 492.6 kB / 0.6545 GB, free: 9.23 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.583e-05/0.5133, allocations: 64.3 kB / 0.6546 GB, free: 9.184 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.357e-05/0.5133, allocations: 45.59 kB / 0.6546 GB, free: 9.168 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009233/0.5143, allocations: 0.5545 MB / 0.6551 GB, free: 8.812 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.177e-05/0.5143, allocations: 1.469 kB / 0.6551 GB, free: 8.812 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.007e-05/0.5144, allocations: 19.97 kB / 0.6552 GB, free: 8.797 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.318e-05/0.5144, allocations: 10.12 kB / 0.6552 GB, free: 8.797 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009621/0.5153, allocations: 493.5 kB / 0.6556 GB, free: 8.566 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0029/0.5183, allocations: 2.099 MB / 0.6577 GB, free: 6.844 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009355/0.5192, allocations: 0.6266 MB / 0.6583 GB, free: 6.391 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005155/0.5197, allocations: 287.4 kB / 0.6586 GB, free: 6.238 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.104e-05/0.5198, allocations: 13.69 kB / 0.6586 GB, free: 6.23 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.987e-05/0.5198, allocations: 37.78 kB / 0.6586 GB, free: 6.188 MB / 446.1 MB Notification: Performance of pre-optimization done (n=51): time 1.753e-06/0.5198, allocations: 1.281 kB / 0.6586 GB, free: 6.188 MB / 446.1 MB Notification: Performance of matching and sorting (n=52): time 0.008218/0.5281, allocations: 2.844 MB / 0.6614 GB, free: 3.562 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.442e-05/0.5281, allocations: 89.55 kB / 0.6615 GB, free: 3.457 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004736/0.5286, allocations: 498.1 kB / 0.662 GB, free: 2.957 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.585e-05/0.5286, allocations: 37.7 kB / 0.662 GB, free: 2.914 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001267/0.5288, allocations: 284.1 kB / 0.6623 GB, free: 2.633 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001137/0.5289, allocations: 185.3 kB / 0.6625 GB, free: 2.449 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001393/0.529, allocations: 90.25 kB / 0.6625 GB, free: 2.355 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.625e-05/0.5291, allocations: 370.7 kB / 0.6629 GB, free: 1.984 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000425/0.5296, allocations: 237 kB / 0.6631 GB, free: 1.754 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004558/0.53, allocations: 345 kB / 0.6634 GB, free: 1.379 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008966/0.5309, allocations: 0.5934 MB / 0.664 GB, free: 0.7461 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.5309, allocations: 0 / 0.664 GB, free: 0.7461 MB / 446.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00764/0.5386, allocations: 1.744 MB / 0.6657 GB, free: 14.99 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.757e-05/0.5386, allocations: 8 kB / 0.6657 GB, free: 14.98 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/0.5386, allocations: 0 / 0.6657 GB, free: 14.98 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007275/0.5459, allocations: 1.183 MB / 0.6669 GB, free: 13.8 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000521/0.5465, allocations: 95.88 kB / 0.667 GB, free: 13.7 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01156/0.5581, allocations: 6.253 MB / 0.6731 GB, free: 7.172 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007192/0.5588, allocations: 35.97 kB / 0.6731 GB, free: 7.137 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.195e-05/0.5589, allocations: 20 kB / 0.6731 GB, free: 7.117 MB / 462.1 MB 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.000277/0.5591, allocations: 177.8 kB / 0.6733 GB, free: 6.934 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001286/0.5593, allocations: 67.17 kB / 0.6734 GB, free: 6.867 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004256/0.5635, allocations: 1.331 MB / 0.6747 GB, free: 5.52 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.5636, allocations: 4 kB / 0.6747 GB, free: 5.516 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.5636, allocations: 7.938 kB / 0.6747 GB, free: 5.508 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.5636, allocations: 3.984 kB / 0.6747 GB, free: 5.504 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005165/0.5688, allocations: 2.106 MB / 0.6767 GB, free: 3.309 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.5688, allocations: 0 / 0.6767 GB, free: 3.309 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004254/0.5692, allocations: 75.89 kB / 0.6768 GB, free: 3.234 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002524/0.5717, allocations: 0.5948 MB / 0.6774 GB, free: 2.633 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.099e-05/0.5718, allocations: 12 kB / 0.6774 GB, free: 2.621 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00689/0.5787, allocations: 4.739 MB / 0.682 GB, free: 13.6 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.389e-06/0.5787, allocations: 11.92 kB / 0.6821 GB, free: 13.59 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004932/0.5837, allocations: 1.792 MB / 0.6838 GB, free: 11.77 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002611/0.5839, allocations: 136.4 kB / 0.6839 GB, free: 11.62 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001318/0.5841, allocations: 12 kB / 0.6839 GB, free: 11.61 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005811/0.5847, allocations: 27.97 kB / 0.684 GB, free: 11.58 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001905/0.5849, allocations: 72.28 kB / 0.684 GB, free: 11.51 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.456e-05/0.5849, allocations: 8 kB / 0.684 GB, free: 11.5 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000474/0.5854, allocations: 358.9 kB / 0.6844 GB, free: 11.16 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5854, allocations: 4 kB / 0.6844 GB, free: 11.15 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0008507/0.5863, allocations: 196 kB / 0.6846 GB, free: 10.96 MB / 478.1 MB 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.0001836/0.5865, allocations: 119.2 kB / 0.6847 GB, free: 10.83 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002298/0.5888, allocations: 0.904 MB / 0.6856 GB, free: 9.91 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.5888, allocations: 0 / 0.6856 GB, free: 9.91 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001382/0.5902, allocations: 0.6795 MB / 0.6862 GB, free: 9.207 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006462/0.5908, allocations: 68.56 kB / 0.6863 GB, free: 9.145 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002421/0.5933, allocations: 1.29 MB / 0.6876 GB, free: 7.828 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004617/0.5937, allocations: 0.8833 MB / 0.6884 GB, free: 6.914 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0002374/0.594, allocations: 56.34 kB / 0.6885 GB, free: 6.859 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001356/0.5941, allocations: 43.44 kB / 0.6885 GB, free: 6.816 MB / 478.1 MB Notification: Performance of SimCode: time 4e-07/0.5941, allocations: 0 / 0.6885 GB, free: 6.816 MB / 478.1 MB Notification: Performance of Templates: time 0.02158/0.6157, allocations: 12.36 MB / 0.7006 GB, free: 10.5 MB / 494.1 MB 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)