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: "" <> buildModelFMU(OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM,fileNamePrefix="OpenIMDML_main_OpenIMDML_Examples_MultiDomainExamples_MultiDomainSinglePhaseInductionMotors_MultiDomainSPIM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM,fileNamePrefix="OpenIMDML_main_OpenIMDML_Examples_MultiDomainExamples_MultiDomainSinglePhaseInductionMotors_MultiDomainSPIM",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.3858/0.3858, allocations: 78.57 MB / 93.84 MB, free: 4.316 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.0007641/0.0007641, allocations: 88.2 kB / 113.6 MB, free: 10.11 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.0008424/0.0008424, allocations: 175.9 kB / 133.4 MB, free: 6.285 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.281/1.281, allocations: 223.3 MB / 376.4 MB, free: 14.61 MB / 286.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIMDML 1.0.0-main/package.mo): time 0.5906/0.5906, allocations: 62.17 MB / 0.4967 GB, free: 5.801 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.0004853/0.0004854, allocations: 19.55 kB / 0.5777 GB, free: 39.22 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09119/0.09169, allocations: 70.72 MB / 0.6468 GB, free: 7.09 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM): time 0.003939/0.09566, allocations: 4.065 MB / 0.6507 GB, free: 3 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002115/0.0978, allocations: 1.248 MB / 0.652 GB, free: 1.746 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003017/0.09812, allocations: 12 kB / 0.652 GB, free: 1.734 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003033/0.09843, allocations: 95.34 kB / 0.6521 GB, free: 1.641 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005217/0.09896, allocations: 198.7 kB / 0.6523 GB, free: 1.445 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009785/0.09995, allocations: 0.4948 MB / 0.6527 GB, free: 0.9492 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007587/0.1007, allocations: 0.806 MB / 0.6535 GB, free: 140 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002408/0.101, allocations: 146 kB / 0.6537 GB, free: 15.99 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003662/0.1013, allocations: 302.7 kB / 0.6539 GB, free: 15.7 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005301/0.1019, allocations: 414.2 kB / 0.6543 GB, free: 15.29 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 9.354e-05/0.102, allocations: 36 kB / 0.6544 GB, free: 15.26 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000215/0.1022, allocations: 91.97 kB / 0.6545 GB, free: 15.17 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000128/0.1024, allocations: 131.3 kB / 0.6546 GB, free: 15.04 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002862/0.1026, allocations: 347.8 kB / 0.6549 GB, free: 14.69 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006811/0.1033, allocations: 0.7899 MB / 0.6557 GB, free: 13.9 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.1033, allocations: 0 / 0.6557 GB, free: 13.9 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1034, allocations: 0 / 0.6557 GB, free: 13.9 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.141e-05/0.1034, allocations: 0 / 0.6557 GB, free: 13.9 MB / 462.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.003052/0.1064, allocations: 1.122 MB / 0.6568 GB, free: 12.72 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.1065, allocations: 8.031 kB / 0.6568 GB, free: 12.71 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001048/0.1066, allocations: 86.7 kB / 0.6569 GB, free: 12.62 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009917/0.1076, allocations: 188 kB / 0.6571 GB, free: 12.44 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005842/0.1082, allocations: 488.8 kB / 0.6575 GB, free: 11.92 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.266e-05/0.1083, allocations: 66.69 kB / 0.6576 GB, free: 11.85 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.88e-05/0.1084, allocations: 47.91 kB / 0.6576 GB, free: 11.8 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001014/0.1094, allocations: 0.5661 MB / 0.6582 GB, free: 11.22 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/0.1094, allocations: 7.938 kB / 0.6582 GB, free: 11.21 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.999e-05/0.1095, allocations: 16 kB / 0.6582 GB, free: 11.2 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.999e-06/0.1095, allocations: 12 kB / 0.6582 GB, free: 11.18 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001027/0.1105, allocations: 0.5114 MB / 0.6587 GB, free: 10.67 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003128/0.1137, allocations: 2.104 MB / 0.6608 GB, free: 8.457 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001021/0.1147, allocations: 0.6527 MB / 0.6614 GB, free: 7.75 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005652/0.1153, allocations: 306.9 kB / 0.6617 GB, free: 7.445 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.091e-05/0.1153, allocations: 8.438 kB / 0.6617 GB, free: 7.438 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.1154, allocations: 38.98 kB / 0.6618 GB, free: 7.391 MB / 462.1 MB Notification: Performance of pre-optimization done (n=51): time 1.583e-06/0.1154, allocations: 0 / 0.6618 GB, free: 7.391 MB / 462.1 MB Notification: Performance of matching and sorting (n=52): time 0.009629/0.125, allocations: 3.163 MB / 0.6648 GB, free: 4.145 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.765e-05/0.1251, allocations: 85.55 kB / 0.6649 GB, free: 4.043 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000544/0.1256, allocations: 0.4943 MB / 0.6654 GB, free: 3.535 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.533e-05/0.1257, allocations: 37.7 kB / 0.6654 GB, free: 3.492 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001753/0.1258, allocations: 288.1 kB / 0.6657 GB, free: 3.207 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001449/0.126, allocations: 181.2 kB / 0.6659 GB, free: 3.027 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.752e-05/0.1261, allocations: 49.69 kB / 0.6659 GB, free: 2.973 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.1262, allocations: 370.7 kB / 0.6663 GB, free: 2.602 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005498/0.1268, allocations: 257 kB / 0.6665 GB, free: 2.352 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005979/0.1274, allocations: 357.1 kB / 0.6669 GB, free: 1.965 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001176/0.1286, allocations: 0.6363 MB / 0.6675 GB, free: 1.289 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1286, allocations: 0 / 0.6675 GB, free: 1.289 MB / 462.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.008715/0.1373, allocations: 1.943 MB / 0.6694 GB, free: 15.33 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.1373, allocations: 12.22 kB / 0.6694 GB, free: 15.32 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.1373, allocations: 0 / 0.6694 GB, free: 15.32 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007808/0.1451, allocations: 1.281 MB / 0.6707 GB, free: 14.04 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004486/0.1456, allocations: 103.9 kB / 0.6708 GB, free: 13.94 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01155/0.1572, allocations: 5.971 MB / 0.6766 GB, free: 7.707 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005506/0.1577, allocations: 39.97 kB / 0.6766 GB, free: 7.668 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.559e-05/0.1578, allocations: 27.92 kB / 0.6767 GB, free: 7.641 MB / 478.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.0002137/0.158, allocations: 181.8 kB / 0.6768 GB, free: 7.453 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001175/0.1581, allocations: 59.25 kB / 0.6769 GB, free: 7.395 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004843/0.163, allocations: 1.514 MB / 0.6784 GB, free: 5.863 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.163, allocations: 8 kB / 0.6784 GB, free: 5.855 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.163, allocations: 4.125 kB / 0.6784 GB, free: 5.852 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/0.163, allocations: 7.984 kB / 0.6784 GB, free: 5.844 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00564/0.1687, allocations: 2.305 MB / 0.6806 GB, free: 3.449 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.1687, allocations: 0 / 0.6806 GB, free: 3.449 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004439/0.1691, allocations: 83.89 kB / 0.6807 GB, free: 3.367 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002747/0.1719, allocations: 0.6651 MB / 0.6814 GB, free: 2.695 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.978e-05/0.1719, allocations: 12 kB / 0.6814 GB, free: 2.684 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006695/0.1787, allocations: 4.554 MB / 0.6858 GB, free: 13.86 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1787, allocations: 0 / 0.6858 GB, free: 13.86 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005338/0.184, allocations: 1.995 MB / 0.6878 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001173/0.1841, allocations: 132.5 kB / 0.6879 GB, free: 11.7 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.557e-05/0.1842, allocations: 12 kB / 0.6879 GB, free: 11.68 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000562/0.1848, allocations: 43.97 kB / 0.6879 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001687/0.185, allocations: 68.27 kB / 0.688 GB, free: 11.57 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.423e-05/0.185, allocations: 15.94 kB / 0.688 GB, free: 11.55 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003789/0.1854, allocations: 358.7 kB / 0.6884 GB, free: 11.21 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1854, allocations: 4 kB / 0.6884 GB, free: 11.21 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006239/0.186, allocations: 192 kB / 0.6886 GB, free: 11.02 MB / 494.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.005648/0.1917, allocations: 2.555 MB / 0.6911 GB, free: 8.43 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002169/0.1939, allocations: 0.9588 MB / 0.692 GB, free: 7.461 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1939, allocations: 0 / 0.692 GB, free: 7.461 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001456/0.1953, allocations: 0.7265 MB / 0.6927 GB, free: 6.703 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005716/0.1959, allocations: 76.27 kB / 0.6928 GB, free: 6.633 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02231/0.2182, allocations: 8.328 MB / 0.7009 GB, free: 14.13 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003946/0.2187, allocations: 0.8833 MB / 0.7018 GB, free: 13.22 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.0002083/0.2189, allocations: 56.36 kB / 0.7018 GB, free: 13.16 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002912/0.2192, allocations: 207.4 kB / 0.702 GB, free: 12.96 MB / 0.4982 GB Notification: Performance of SimCode: time 3.2e-07/0.2192, allocations: 0 / 0.702 GB, free: 12.96 MB / 0.4982 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02973/0.2489, allocations: 16.4 MB / 0.718 GB, free: 12.83 MB / 0.5138 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002149/0.2491, allocations: 300.5 kB / 0.7183 GB, free: 12.44 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.96/2.209, allocations: 0 / 0.7183 GB, free: 12.44 MB / 0.5138 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIMDML_main_OpenIMDML_Examples_MultiDomainExamples_MultiDomainSinglePhaseInductionMotors_MultiDomainSPIM_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIMDML_main_OpenIMDML_Examples_MultiDomainExamples_MultiDomainSinglePhaseInductionMotors_MultiDomainSPIM.fmu > OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM.pipe 2>&1)