Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM.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.MultiDomainDPIM,fileNamePrefix="OpenIMDML_main_OpenIMDML_Examples_MultiDomainExamples_MultiDomainSinglePhaseInductionMotors_MultiDomainDPIM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM,fileNamePrefix="OpenIMDML_main_OpenIMDML_Examples_MultiDomainExamples_MultiDomainSinglePhaseInductionMotors_MultiDomainDPIM",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 3.766/3.766, allocations: 78.55 MB / 93.67 MB, free: 4.219 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.000963/0.0009629, allocations: 105.8 kB / 113.2 MB, free: 10.12 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.001255/0.001255, allocations: 192.5 kB / 132.9 MB, free: 6.48 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.483/1.483, allocations: 222.9 MB / 375.3 MB, free: 2.387 MB / 270.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIMDML 1.0.0-main/package.mo): time 2.502/2.502, allocations: 62.46 MB / 0.4947 GB, free: 8.344 MB / 366.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 50000 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 50000 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.002063/0.002063, allocations: 123.8 kB / 0.5746 GB, free: 6.617 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6451/0.6472, allocations: 69.48 MB / 0.6425 GB, free: 18.07 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM): time 0.006409/0.6536, allocations: 4.833 MB / 0.6472 GB, free: 14.22 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003392/0.6571, allocations: 1.403 MB / 0.6485 GB, free: 13.07 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005776/0.6577, allocations: 6.312 kB / 0.6485 GB, free: 13.07 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003306/0.658, allocations: 101.9 kB / 0.6486 GB, free: 12.99 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005727/0.6586, allocations: 225.6 kB / 0.6489 GB, free: 12.8 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001135/0.6598, allocations: 0.5595 MB / 0.6494 GB, free: 12.37 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001087/0.6609, allocations: 0.9996 MB / 0.6504 GB, free: 11.78 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002632/0.6611, allocations: 164.3 kB / 0.6505 GB, free: 11.67 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004681/0.6616, allocations: 388.2 kB / 0.6509 GB, free: 11.45 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005391/0.6622, allocations: 0.5049 MB / 0.6514 GB, free: 11.11 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001163/0.6623, allocations: 52.25 kB / 0.6515 GB, free: 11.11 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002993/0.6626, allocations: 106.5 kB / 0.6516 GB, free: 11.08 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001402/0.6628, allocations: 174.6 kB / 0.6517 GB, free: 10.93 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003396/0.6631, allocations: 391.6 kB / 0.6521 GB, free: 10.65 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008364/0.6639, allocations: 0.9858 MB / 0.6531 GB, free: 9.895 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.664, allocations: 1.562 kB / 0.6531 GB, free: 9.895 MB / 446.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.664, allocations: 0 / 0.6531 GB, free: 9.895 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.505e-05/0.664, allocations: 0 / 0.6531 GB, free: 9.895 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: 143 * Number of variables: 143 Notification: Performance of Generate backend data structure: time 0.004319/0.6683, allocations: 1.412 MB / 0.6544 GB, free: 8.93 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.6684, allocations: 14.3 kB / 0.6545 GB, free: 8.926 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001264/0.6685, allocations: 97.17 kB / 0.6545 GB, free: 8.84 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001057/0.6696, allocations: 197.7 kB / 0.6547 GB, free: 8.754 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000826/0.6704, allocations: 0.5284 MB / 0.6552 GB, free: 8.285 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001104/0.6705, allocations: 71.45 kB / 0.6553 GB, free: 8.238 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001132/0.6706, allocations: 56.88 kB / 0.6554 GB, free: 8.219 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001462/0.6721, allocations: 0.7609 MB / 0.6561 GB, free: 7.734 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.949e-05/0.6721, allocations: 9.25 kB / 0.6561 GB, free: 7.727 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.738e-05/0.6722, allocations: 25.72 kB / 0.6561 GB, free: 7.707 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.904e-05/0.6722, allocations: 17.91 kB / 0.6562 GB, free: 7.703 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001789/0.674, allocations: 0.8293 MB / 0.657 GB, free: 7.32 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004718/0.6788, allocations: 2.861 MB / 0.6598 GB, free: 4.949 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001643/0.6804, allocations: 1.131 MB / 0.6609 GB, free: 3.73 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006826/0.6811, allocations: 443.5 kB / 0.6613 GB, free: 3.293 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.4e-05/0.6812, allocations: 20.62 kB / 0.6613 GB, free: 3.273 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.206e-05/0.6813, allocations: 43.16 kB / 0.6614 GB, free: 3.219 MB / 446.1 MB Notification: Performance of pre-optimization done (n=80): time 2.324e-06/0.6813, allocations: 0 / 0.6614 GB, free: 3.219 MB / 446.1 MB Notification: Performance of matching and sorting (n=81): time 0.01068/0.6919, allocations: 3.883 MB / 0.6651 GB, free: 15.26 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.503e-05/0.692, allocations: 89.77 kB / 0.6652 GB, free: 15.16 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007712/0.6928, allocations: 0.5185 MB / 0.6657 GB, free: 14.62 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.824e-05/0.6929, allocations: 37.7 kB / 0.6658 GB, free: 14.58 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002351/0.6932, allocations: 308.6 kB / 0.6661 GB, free: 14.28 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000273/0.6934, allocations: 287.9 kB / 0.6663 GB, free: 13.99 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002556/0.6937, allocations: 126.6 kB / 0.6665 GB, free: 13.86 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001802/0.6939, allocations: 378.8 kB / 0.6668 GB, free: 13.48 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007601/0.6947, allocations: 357.8 kB / 0.6672 GB, free: 13.13 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008114/0.6955, allocations: 0.4966 MB / 0.6677 GB, free: 12.59 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001614/0.6971, allocations: 0.8828 MB / 0.6685 GB, free: 11.65 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.6971, allocations: 7.938 kB / 0.6685 GB, free: 11.64 MB / 462.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.00479/0.7019, allocations: 1.715 MB / 0.6702 GB, free: 9.918 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.55e-05/0.702, allocations: 11.94 kB / 0.6702 GB, free: 9.906 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.702, allocations: 8.25 kB / 0.6702 GB, free: 9.898 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002288/0.7043, allocations: 0.5753 MB / 0.6708 GB, free: 9.316 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008846/0.7052, allocations: 131.8 kB / 0.6709 GB, free: 9.188 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009176/0.7144, allocations: 5.338 MB / 0.6761 GB, free: 3.582 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001193/0.7156, allocations: 52.03 kB / 0.6762 GB, free: 3.531 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.122e-05/0.7157, allocations: 31.98 kB / 0.6762 GB, free: 3.5 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (74): * Single equations (assignments): 72 * 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,18,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003914/0.7161, allocations: 193.6 kB / 0.6764 GB, free: 3.301 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001697/0.7162, allocations: 71.25 kB / 0.6765 GB, free: 3.23 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00473/0.721, allocations: 1.7 MB / 0.6781 GB, free: 1.516 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.488e-05/0.721, allocations: 11.98 kB / 0.6781 GB, free: 1.504 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.721, allocations: 4 kB / 0.6781 GB, free: 1.5 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.387e-06/0.721, allocations: 3.984 kB / 0.6781 GB, free: 1.496 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00606/0.7271, allocations: 2.668 MB / 0.6807 GB, free: 14.73 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/0.7271, allocations: 192 / 0.6807 GB, free: 14.73 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007675/0.7279, allocations: 115.9 kB / 0.6808 GB, free: 14.62 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002032/0.7299, allocations: 0.5585 MB / 0.6814 GB, free: 14.06 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.634e-05/0.73, allocations: 16 kB / 0.6814 GB, free: 14.04 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007751/0.7378, allocations: 4.923 MB / 0.6862 GB, free: 8.844 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.7378, allocations: 4 kB / 0.6862 GB, free: 8.84 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005851/0.7437, allocations: 2.324 MB / 0.6885 GB, free: 6.492 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003584/0.7441, allocations: 148.3 kB / 0.6886 GB, free: 6.328 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001132/0.7442, allocations: 12 kB / 0.6886 GB, free: 6.316 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008185/0.745, allocations: 39.97 kB / 0.6887 GB, free: 6.277 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000293/0.7453, allocations: 88.61 kB / 0.6888 GB, free: 6.191 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.584e-05/0.7454, allocations: 16 kB / 0.6888 GB, free: 6.176 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004752/0.7459, allocations: 382.8 kB / 0.6891 GB, free: 5.805 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.975e-06/0.7459, allocations: 0 / 0.6891 GB, free: 5.805 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0008835/0.7467, allocations: 251.9 kB / 0.6894 GB, free: 5.559 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,DPIM.Rotor_Inertia.w,DPIM.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 (58): * Single equations (assignments): 56 * 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,18,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005837/0.7526, allocations: 2.89 MB / 0.6922 GB, free: 2.637 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002811/0.7554, allocations: 1.318 MB / 0.6935 GB, free: 1.289 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.7554, allocations: 0 / 0.6935 GB, free: 1.289 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001787/0.7572, allocations: 0.8742 MB / 0.6943 GB, free: 396 kB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008909/0.7581, allocations: 82.17 kB / 0.6944 GB, free: 312 kB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01715/0.7753, allocations: 8.537 MB / 0.7028 GB, free: 7.566 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005496/0.7759, allocations: 0.9278 MB / 0.7037 GB, free: 6.609 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000528/0.7764, allocations: 81.06 kB / 0.7037 GB, free: 6.531 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004571/0.7769, allocations: 259.3 kB / 0.704 GB, free: 6.281 MB / 494.1 MB Notification: Performance of SimCode: time 1.833e-06/0.7769, allocations: 0 / 0.704 GB, free: 6.281 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03481/0.8117, allocations: 16.89 MB / 0.7205 GB, free: 5.633 MB / 0.4982 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002504/0.812, allocations: 281.1 kB / 0.7208 GB, free: 5.25 MB / 0.4982 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.336/3.148, allocations: 0 / 0.7208 GB, free: 5.25 MB / 0.4982 GB (rm -f OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM.pipe ; mkfifo OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM.pipe ; head -c 1048576 < OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM.pipe >> ../files/OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIMDML_main_OpenIMDML_Examples_MultiDomainExamples_MultiDomainSinglePhaseInductionMotors_MultiDomainDPIM_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 OpenIMDML_main_OpenIMDML_Examples_MultiDomainExamples_MultiDomainSinglePhaseInductionMotors_MultiDomainDPIM.fmu > OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM.pipe 2>&1)